Re: How to use Carp::Internal and Carp::CarpInternal?

2011-01-17 Thread The Sidhekin
On Mon, Jan 17, 2011 at 4:44 AM, David Christensen < dpchr...@holgerdanske.com> wrote: > module-authors: > > I'm not sure where to ask this question, so please refer me to a better > resource if there is one... > > > I'm trying to implement a centralized exception generation function, say > myconf

Re: How to use Carp::Internal and Carp::CarpInternal?

2011-01-17 Thread David Christensen
The Sidhekin wrote: > The packages you declare "internal" are not what you think they are. > Observe: > > sidhekin@bluebird[07:57:50]~$ perl -le '$t{ __PACKAGE__ }++; print keys %t;' > __PACKAGE__ I noticed that in the debugger, but didn't know if it was a literal string or a shortcut simila

Re: How to import Foo::Bar::mysub when caller writes 'use Foo qw(mysub)'?

2011-01-17 Thread Aristotle Pagaltzis
* David Christensen [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 th

can_ok fails to locate modules

2011-01-17 Thread Geoffrey Leach
I'm attempting to install Autio::Taglib. In this distribution, most of the methods are in .xs files. After building the dist (with the appropriate version of taglib), make test fails, viz: perl -Iblib/lib -Iblib/arch t/TagLib_APE_Footer.t 1..20 ok 1 - use Audio::TagLib::APE::Footer; not ok 2 - A