I'm new to Perl programming. I've noticed that every time I want to declare a new variable, I should use the my
keyword before that variable if strict
and warnings
are on (which I was told to do, for reasons also I do not know.)
So how to declare a variable in perl without using my
and without getting warnings?
My question is: Is it possible to declare a variable without using my
and without omitting the use strict;
and use warnings;
and without getting warnings at all?