http://www.perlmonks.org?node_id=949789


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

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