go ahead... be a heretic | |
PerlMonks |
RE: redeclaring variables with 'my' (use vars qw($var); and my $var ?)by ybiC (Prior) |
on Nov 10, 2000 at 18:10 UTC ( [id://40940]=note: print w/replies, xml ) | Need Help?? |
Might the lead software engineer been railing against using my $var in a loop when $var already declared with use vars qw($var)? Resulting in two scalars of same name, one of which isn't even used.
I did the same on occasion, until corrected here at PM.
In Section
Seekers of Perl Wisdom
|
|