Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

(jcwren) Re: How do you wanna die() ?

by jcwren (Prior)
on Mar 06, 2001 at 18:56 UTC ( #62487=note: print w/ replies, xml ) Need Help??


in reply to How do you wanna die() ?

On of the biggest advantages of putting a common header on die() and warn() messages is for grepping logs and such, especially if they run from cron, or invoked as external programs from CGI.

To that end, I use die "Eeeek! $!";

--Chris

e-mail jcwren


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2015-07-28 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls