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.)
This is alpha software! Read the status section in the package README or on the website.
To install FunctionalPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FunctionalPerl
CPAN shell
perl -MCPAN -e shell install FunctionalPerl
For more information on module installation, please visit the detailed CPAN module installation guide.