Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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:
    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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2015-11-26 23:19 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (709 votes), past polls