* David Christensen <dpchr...@holgerdanske.com> [2011-01-16 21:05]: > What is the best way to accomplish the goal?
Mu. > p.s. My motivation for this question is as follows -- I am > writing some exception throwing code that calls Carp::confess() > internally and would like to apply the %Carp::Internal feature > so that the error messages the user sees start at the point > where they called my code, not where my code calls confess(). > I don't what to put my whole distribution package into > %Carp::Internal, so I'm thinking I'll put the throwing > subroutines into their own package and put that package name > into %Carp::Internal. You are looking for Carp::Carp, and maybe for Carp::Clan::Share. http://search.cpan.org/dist/Carp-Clan/lib/Carp/Clan.pod http://search.cpan.org/dist/Carp-Clan-Share/lib/Carp/Clan/Share.pm Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>