|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: when eval corrupts the invokerby perigeeV (Hermit) |
| on Jun 25, 2002 at 16:27 UTC ( #177129=note: print w/ replies, xml ) | Need Help?? |
|
$0 is Lvaluable so you could anticipate any changes to it. Simplistically you could just: BEGIN{$0 = "foo"} Or if you want to watch it's state just tie the thing:
And then:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||