Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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


Comment on Re^2: CGI::Carp in Apache::Registry
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 drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2015-07-30 12:27 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 (271 votes), past polls