that way you will at least find that error happened.eval { main(); 1; } or do { # error handling with $@ }
In reply to Re^4: $@ gets set differently on eval and Log::Dispatch::Email
by vsespb
in thread $@ gets set differently on eval and Log::Dispatch::Email
by Pickwick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |