in reply to why did i die?
Are you looking for some differentiator other than the contents of $@?
eval{ die() }; print $@;; Died at (eval 13) line 1, <STDIN> line 5. eval{ xyz* }; print $@;; Unquoted string "xyz" may clash with future reserved word at (eval 14) + line 1, <STDIN> line 6. eval{ 4/0 }; print $@;; Illegal division by zero at (eval 15) line 1, <STDIN> line 7.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why did i die?
by Corion (Patriarch) on Apr 02, 2014 at 09:30 UTC | |
by markov (Scribe) on Apr 02, 2014 at 09:38 UTC | |
|
Re^2: why did i die?
by markov (Scribe) on Apr 02, 2014 at 09:28 UTC | |
by BrowserUk (Patriarch) on Apr 02, 2014 at 09:47 UTC | |
by markov (Scribe) on Apr 02, 2014 at 10:24 UTC | |
by BrowserUk (Patriarch) on Apr 02, 2014 at 10:39 UTC | |
by markov (Scribe) on Apr 02, 2014 at 10:55 UTC | |
| |
by Anonymous Monk on Apr 02, 2014 at 09:34 UTC |