in reply to Re: Why isn't a fatal error trappable?
in thread Why isn't a fatal error trappable?
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 $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why isn't a fatal error trappable?
by BrowserUk (Patriarch) on Nov 16, 2010 at 13:15 UTC | |
by JavaFan (Canon) on Nov 16, 2010 at 14:42 UTC |