in reply to Listing the functions of a package / methods of an object
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?)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Listing the functions of a package / methods of an object
by amir_e_a (Hermit) on Jul 15, 2008 at 14:22 UTC | |
by karavelov (Monk) on Jul 15, 2008 at 16:28 UTC | |
by moritz (Cardinal) on Jul 15, 2008 at 14:52 UTC |
In Section
Seekers of Perl Wisdom