Just got this working. Next release will have...
my @isa = $mod->superclasses;
my %methods = $mod->class_method_calls
my @methods = $mod->object_method_calls;
my @functions= $mod->function_calls;
# Check for constructs which make perl hard to predict.
my %methods = $mod->dy
http://www.pobox.com/~schwern/src/Module-Info-0.11.tar.gz
Didn't get quite as far as I'd hoped, but I got the hard part's done.
The interesting bit is you can now find every function and method call
in a program (I just realized I'm not handling function calls with
symbolic refs quite right, wil
I wrote up a little example script using the new
Module::Info->subroutines_called. Anyone that's ever tried to use
grep to find a function call in a perl program will appreciate this.
The following finds all function/method calls to isa().
$ pfunc isa /usr/share/perl/5.6.1/*.pm
Called as functio
http://www.pobox.com/~schwern/src/Module-Info-0.12.tar.gz
Added pfunc into the dist and fixed some bugs found while writing that.
0.12 Sat Feb 2 19:41:01 EST 2002
* Added pfunc
- Now tested back to 5.004
* Fixed a bug where certain modules were being ignored
- Fixed a bug in su