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

Re: Disabling CGI::Carp(fatalsToBrowser)

by robartes (Priest)
on Sep 14, 2006 at 16:37 UTC ( #572952=note: print w/ replies, xml ) Need Help??


in reply to Disabling CGI::Carp(fatalsToBrowser)

Hmm, I can think of a way, but I don't see why you would want to do this.

CGI::Carp does its fatalsToBrowser magic by setting $SIG{'_DIE_'}. You could conceivably set $SIG{'_DIE_'} back to do nothing each time you go into the module, and set it back afterwards, but I have no idea whether that would work at all.

If I get some more time tonight I'll see if I can rustle up some example code.

CU
Robartes-


Comment on Re: Disabling CGI::Carp(fatalsToBrowser)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-07-24 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (155 votes), past polls