Chj::Class::methodnames
use FP::Equal 'is_equal'; use Chj::Class::methodnames; { package Foo123; sub foo { }; sub bar { }; } is_equal [ methodnames bless {}, Foo123 ], [ "bar", "foo" ];
Return all names of methods, except for those in a stoplist; also recurses into parent packages following @ISA.
set_stoplist(list of methodnames not to return) set another list than BEGIN and Dumper. (It sets a new hashref at $Chj::Class::methodnames::stop.)
To install PXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PXML
CPAN shell
perl -MCPAN -e shell install PXML
For more information on module installation, please visit the detailed CPAN module installation guide.