in reply to Re: novice 'die' help requested
in thread novice 'die' help requested
... Ofcourse, $@ gets stringafied here, so if it is an Exception object (or, if you want to be perverse, a hashref) it'll get magled, with differing degress of success. (Although most exceptions stringify nicely, so that you can read if they're uncaught, and reach your terminal.)
perhaps log_error( my $something_else = $@ ) to copy it? ...
|
|---|