in reply to How to get list of methods inside object
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get list of methods inside object
by ikegami (Patriarch) on Oct 11, 2005 at 14:07 UTC | |
by dragonchild (Archbishop) on Oct 11, 2005 at 14:44 UTC | |
by merlyn (Sage) on Oct 11, 2005 at 15:43 UTC | |
|
Re^2: How to get list of methods inside object
by japhy (Canon) on Oct 11, 2005 at 14:06 UTC |