in reply to Re: Module wants to die! How do I handle this?
in thread Module wants to die! How do I handle this?

$@ seems always to be defined:

$ perl -Mstrict -wle 'print defined $@'
1

Therefore you better check for a true value in $@:

if ($@) { ... }

--Frank

  • Comment on Re^2: Module wants to die! How do I handle this?