Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Perl Programmers Don't Die...

by Jenda (Abbot)
on Oct 15, 2007 at 22:55 UTC ( #645054=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl Programmers Don't Die...
in thread Perl Programmers Don't Die...

Well ... what if some module die()s? I think you should have a look at CGI::Carp instead or just enclose the script in one big eval{}


Comment on Re^3: Perl Programmers Don't Die...
Replies are listed 'Best First'.
Re^4: Perl Programmers Don't Die...
by twotone (Beadle) on Jan 04, 2008 at 09:37 UTC
    I suppose that I should clarify that this isn't for when my scripts die of natural causes, but when I kill them myself, i.e.:
    open ... or &dienice("Can't open: $!");
    Or for viewing troubleshooting data:
    &dienice(@troubleshooting_data);
    Perhaps I should rename the sub killnice, or maybe KillingMeSoftly?

    *Music plays in the background*

    Strumming my pain with his routine
    Singing my life with his code
    Killing me softly with his sub...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2015-07-31 08:42 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 (276 votes), past polls