Do you know where your variables are? | |
PerlMonks |
Re^3: Is it possible to create a sub exclusive to a sub?by ihb (Deacon) |
on Sep 19, 2004 at 10:40 UTC ( [id://392156]=note: print w/replies, xml ) | Need Help?? |
*test->{localsub} isn't equivalent to $::test{localsub} in the general case. It just happens to be that in the current package in the code BrowserUk wrote. You probably know that, but I just want to point out that. It's important to realize that *foo doesn't by any means imply the main namespace. ihb Read argumentation in its context!
In Section
Seekers of Perl Wisdom
|
|