in reply to Getting methods existing in a Perl Object!

I believe Class::MOP can do this cleanly:

my $meta = Class::MOP::Class->initialize( $Object ); my $method_map = $meta->compute_all_applicable_methods();

Replies are listed 'Best First'.
Re^2: Getting methods existing in a Perl Object!
by Ace128 (Hermit) on Dec 27, 2006 at 18:12 UTC
    Hey, this seems quite nice actually... not sure what to use here... liverpole's or the Class::MOP module... well, I think I will see if it's neccessary since the liverpole's solution seems to do what I need quite nice already...