Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Friendly error trapping

by pg (Canon)
on Sep 13, 2005 at 00:26 UTC ( [id://491426]=note: print w/replies, xml ) Need Help??


in reply to Friendly error trapping

"I know that the Perlish way to handle an errors, like writing to a file, is to die, print the error $!, and take the forced exit."

Don't think that's the Perlish way, but rather a simple way of giving examples in ones's documentations/posts. I believe that most of the people will not die their programs like this. I don't think you need to worry about the die part too much.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-23 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found