Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: How do you wanna die() ?

by magnus (Pilgrim)
on Mar 06, 2001 at 20:11 UTC ( #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: $!";


 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 $!"


Comment on Re: How do you wanna die() ?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2016-02-07 11:57 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (251 votes), past polls