Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by haoess (Curate)
on Jul 11, 2005 at 19:38 UTC ( #474066=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474066]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-09-26 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (478 votes). Check out past polls.