Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: CGI::Carp in Apache::Registry

by bbfan (Novice)
on Jan 24, 2012 at 23:20 UTC ( #949787=note: print w/ replies, xml ) Need Help??


in reply to Re: CGI::Carp in Apache::Registry
in thread CGI::Carp in Apache::Registry

Hey, thanks for the suggestion. Sounded good, so gave it a try - had the same result as before. Went to see "when" an END block would get executed in Apache::Registry, and it's just what you might suspect - when the script or interpreter exits - which is why am seeing the same result.

http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html#C_END__Blocks

Replies are listed 'Best First'.
Re^3: CGI::Carp in Apache::Registry
by Anonymous Monk on Jan 24, 2012 at 23:27 UTC

    What is wrong with the default, caller...?

    In that case, copy/paste Carp.pm and fix it to your liking :) say it sets/checks  ${(caller)[0].'::PROGNAME'} instead, which ought to work under registry

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2016-06-29 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (375 votes). Check out past polls.