Perl: the Markov chain saw | |
PerlMonks |
Re^3: How many different ways can Perl code fail?by wol (Hermit) |
on Jan 14, 2009 at 17:45 UTC ( [id://736298]=note: print w/replies, xml ) | Need Help?? |
Why is using $@ a bit unreliable?
Update: Just found that the answer to this is covered by the documentation of Devel::EvalError. A quick read seems to suggest that the issue can only arise if there's a DESTROY method which uses eval (however indirectly) and doesn't localise $@. You'll have to decide whether that would be a problem for you...
--
In Section
Seekers of Perl Wisdom
|
|