$@ seems always to be defined:
$ perl -Mstrict -wle 'print defined $@' 1
Therefore you better check for a true value in $@:
if ($@) { ... }
--Frank
In reply to Re^2: Module wants to die! How do I handle this?
by haoess
in thread Module wants to die! How do I handle this?
by jdtoronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |