![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: Listing the functions of a package / methods of an objectby amir_e_a (Hermit) |
on Jul 15, 2008 at 14:22 UTC ( #697723=note: print w/replies, xml ) | Need Help?? |
> Use Moose or another OO framework that allows easy introspection. Hmm ... but nothing for the old-fashioned plain blessed packages?.. > Without having checked, I think your code will fail to list method in superclasses of $object You're right :( > And shouldn't $result be really <c>$object? Of course it should :)
In Section
Seekers of Perl Wisdom
|
|