![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Re: changing package variables?by LameNerd (Hermit) |
on Mar 05, 2003 at 00:06 UTC ( #240491=note: print w/replies, xml ) | Need Help?? |
Thanks! I was under the mistaken impression that doing use MYPACKAGE qw / sub1 /; use vars qw / $var1 /;Would give me instance of $MYPACKAGE::var1 in my main package scope. So what's the diffence between use vars qw / $var1 /;and my $var1?????? What was I thinking?
In Section
Seekers of Perl Wisdom
|
|