in reply to Re^3: $@ gets set differently on eval and Log::Dispatch::Email
in thread $@ gets set differently on eval and Log::Dispatch::Email
that way you will at least find that error happened.eval { main(); 1; } or do { # error handling with $@ }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: $@ gets set differently on eval and Log::Dispatch::Email
by Pickwick (Beadle) on Aug 12, 2013 at 20:40 UTC |