Keep It Simple, Stupid | |
PerlMonks |
Re^2: Testing package membershipby FreakyGreenLeaky (Sexton) |
on Nov 21, 2008 at 09:10 UTC ( [id://725076]=note: print w/replies, xml ) | Need Help?? |
Got it! Using ->can() wrapped in eval{} does the trick nicely:
Thanks to GrandFather and moritz.
In Section
Seekers of Perl Wisdom
|
|