![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: import dutiesby tcf22 (Priest) |
on Dec 24, 2003 at 14:57 UTC ( #316858=note: print w/replies, xml ) | Need Help?? |
I expected 3rd way to work just like the others, by creating a my variable in main. If you use Devel::Symdump, you'll see that my variables, aren't actually in the main package, they are local to the block.. The list outputted by the following code, shows all scalar symbols in the main package. Update: Fixed misplaced sentence fragment. - Tom
In Section
Seekers of Perl Wisdom
|
|