jeffa has asked for the wisdom of the Perl Monks concerning the following question:
Can someone explain what the difference between the two
methods of declaring variable below:
Thanks.
methods of declaring variable below:
I am not familiar with using use in the second method.A: my ($rows, $cols); B: use vars qw($rows $cols);
Thanks.
Back to
Seekers of Perl Wisdom