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.
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: use vars
by autark (Friar) on Jul 17, 2000 at 03:12 UTC | |
Re: use vars
by merlyn (Sage) on Jul 17, 2000 at 00:40 UTC | |
Re: use vars (expound a bit?)
by ybiC (Prior) on Jul 17, 2000 at 04:34 UTC | |
by chromatic (Archbishop) on Jul 17, 2000 at 08:22 UTC |
Back to
Seekers of Perl Wisdom