[Bioperl-l] Simple way to list all methods of a bioperl objec t?

Marc Logghe Marc.Logghe@devgen.com
Wed, 6 Nov 2002 10:59:49 +0100


> 
> I see that its necessary to write one's own code to do this (i.e. its 
> not been built into perl):
> 
> # bpinspect1  ():
> #
> #  Subroutine that identifies from which ancestor module each method
> #  of an object is derived
>
That's correct, unfortunately it is not built into Perl.
FYI, on CPAN you can find a module which will provide you with some
interesting functions:
http://search.cpan.org/author/ADAMK/Class-Inspector-0.2/lib/Class/Inspector.
pm
Regards,
Marc