There's more than one way to do things | |
PerlMonks |
eval segfaults when $@ isn't writableby Hue-Bond (Priest) |
on Jul 03, 2006 at 22:51 UTC ( [id://559060]=perlquestion: print w/replies, xml ) | Need Help?? |
Hue-Bond has asked for the wisdom of the Perl Monks concerning the following question: I've discovered this while obfuscating. While open behaves well with $!:
eval isn't so forgiving:
Or maybe it's not a problem with eval but with $@:
Is this a perl bug? --
Back to
Seekers of Perl Wisdom
|
|