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

Re: How do you wanna die() ?

by yakko (Friar)
on Mar 06, 2001 at 21:47 UTC ( #62519=note: print w/ replies, xml ) Need Help??


in reply to How do you wanna die() ?

When feeling silly, I use die lines like these:

die "$0 casts itself into the Gorge of Eternal Peril: $!"; die "$0 on fire: $!"; # lp1 on fire die "mailx -s 'Idiot coding perl' merlyn < /dev/null : $!";
Of course, when all's debugged, I simply use bland ones:
die "open(timehole): $!\n";

--
Me spell chucker work grate. Need grandma chicken.


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-10-26 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls