And that, I've always assumed, is because it is detected at compile time rather than runtime.So, eval your eval!
$ perl -E 'eval {eval qq{chop "fred"}}; say "Hi"' Hi $
In reply to Re^2: Why isn't a fatal error trappable?
by JavaFan
in thread Why isn't a fatal error trappable?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |