Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: exit or die in error handling?

by myuserid7 (Scribe)
on Apr 14, 2005 at 10:15 UTC ( [id://447686]=note: print w/replies, xml ) Need Help??


in reply to exit or die in error handling?

Use "exit" if it's not an error. Use "die" if it is. You don't want to worry about memory management for simple things like this - think programmer efficiency!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-26 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found