P is for Practical | |
PerlMonks |
Is this BEGIN construct supposed to work?by Anonymous Monk |
on Nov 02, 2011 at 22:09 UTC ( [id://935504]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Note how the BEGIN treats %hash as if it were a file-scoped global. The keys that are set in %hash are still set when routine() starts and are retained between calls to routine().
Back to
Seekers of Perl Wisdom
|
|