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

It would be easier to find, if you always use
eval { main(); 1; } or do { # error handling with $@ }
that way you will at least find that error happened.

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

    Looks pretty nice and creates short lines, thanks!