Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How do you wanna die() ?

by magnus (Pilgrim)
on Mar 06, 2001 at 20:11 UTC ( [id://62500]=note: print w/replies, xml ) Need Help??


in reply to How do you wanna die() ?

for me it depends on who's gonna see it... if the person reading it is not really gonna have any idea of what the error means and ask someone else for help anyway, i use:

 die "Whoops! Something really strange just occured: $!";

or

 die "Uh-oh... Something went *SNAP* inside the computer: $!";

however, when i know that someone who will have an idea of what's up will be reading, i use:

 die "After the pleading and squealing, this script died like the dog is was because $!"

magnus

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found