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?
[tye]: Corion, I used to have my "last here" updated when I chatted. I still visit regularly but I rarely chat. So I modified my cookie today.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-04-28 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (524 votes). Check out past polls.