Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 contemplating the Monastery: (8)
As of 2014-08-22 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (147 votes), past polls