Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Can a Perl module "inspect" itself and provide details about methods and parameters?

by Your Mother (Archbishop)
on Sep 22, 2019 at 23:46 UTC ( [id://11106555]=note: print w/replies, xml ) Need Help??


in reply to Re: Can a Perl module "inspect" itself and provide details about methods and parameters?
in thread Can a Perl module "inspect" itself and provide details about methods and parameters?

Fun. Play stub–

use 5.10.0; package DoReMe { use Moo; use namespace::autoclean; # Redacts introspection output significa +ntly! has "solfege" => is => "lazy"; } use Class::Inspector; my $methods = Class::Inspector->methods("DoReMe"); say join $/, @{$methods}; say "--"; use Devel::Symdump; my $obj = Devel::Symdump->rnew("DoReMe"); say join $/, $obj->functions;
BUILDALL BUILDARGS DEMOLISHALL does meta new solfege -- DoReMe::new DoReMe::solfege
  • Comment on Re^2: Can a Perl module "inspect" itself and provide details about methods and parameters?
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11106555]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found