Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: File-scoped lexicals and eval scope?by jbert (Priest) |
on Nov 09, 2007 at 11:12 UTC ( [id://649886]=note: print w/replies, xml ) | Need Help?? |
Good analysis on what was happening to $value.
But if the OP wants persistent, file-scope variables, I'd say that package variables are a better choice. Changing the 'my' to 'our' would arrange that and be more readable than relying on tricks like 'if 0', imho.
In Section
Seekers of Perl Wisdom
|
|