in reply to Listing the functions of a package / methods of an object
This will work with any Plain Old Perl Package, no Moose-ness required.
Each element of @methods will be a HASH ref containingmy @methods = Class::MOP::Class->initialize('Class::Name')->compute_al +l_applicable_methods;
- method name
- the name of the class in which the method lives
- a Class::MOP::Method instance that contains the CODE ref for the actual method
-stvn
In Section
Seekers of Perl Wisdom