You can do this with Devel::Symdump:
#!/usr/bin/perl -l use strict; use warnings; use Devel::Symdump; my $dump = Devel::Symdump->new('Foo'); print for $dump->functions; package Foo; sub new { bless {}, shift } sub foo {} sub bar {} sub baz {} sub qux {}
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: How to get list of methods inside object
by jeffa
in thread How to get list of methods inside object
by rumos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |