Don't ask to ask, just ask | |
PerlMonks |
Re: Is this BEGIN construct supposed to work? (does not)by tye (Sage) |
on Nov 02, 2011 at 22:21 UTC ( [id://935509]=note: print w/replies, xml ) | Need Help?? |
I don't see $hash{KEY} being retained except on the very first call to routine(). This is what I expected as the %hash gets (re)initialized when the containing scope is left. - tye
In Section
Seekers of Perl Wisdom
|
|