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


Comment on Re^2: CGI::Carp in Apache::Registry
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 rifling through the Monastery: (14)
As of 2014-09-19 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (140 votes), past polls