in reply to
Re: Testing package membership
in thread
Testing package membership
Hmm, looks like AUTOLOAD is in effect since ->can() is failing.
Looks like I'm stuck with eval{}, unless there's another way.
Comment on
Re^2: Testing package membership
Replies are listed 'Best First'.
Re^3: Testing package membership
by
Anonymous Monk
on Nov 21, 2008 at 18:11 UTC
can can fail for reasons other than AUTOLOAD.
Class::AutoloadCAN
[reply]
In Section
Seekers of Perl Wisdom