Don't ask to ask, just ask | |
PerlMonks |
Re: Listing the functions of a package / methods of an objectby moritz (Cardinal) |
on Jul 15, 2008 at 14:00 UTC ( [id://697716]=note: print w/replies, xml ) | Need Help?? |
Use Moose or another OO framework that allows easy introspection.
Without having checked, I think your code will fail to list method in superclasses of $object (And shouldn't $result be really $object?)
In Section
Seekers of Perl Wisdom
|
|