NAME
pfunc - grep for perl functions
SYNOPSIS
pfunc subroutine FILES...
DESCRIPTION
pfunc searches the named FILES for all calls to the given subroutine. It will report back the file and line number each call is found on along with what sort of call it is
function foo()class method Class->foo()object method $obj->foo()
EXAMPLE
$ pfunc isa /usr/share/perl/5.6.1/*.pmCalled as function in /usr/share/perl/5.6.1/CGI.pm at line 316Called as function in /usr/share/perl/5.6.1/CGI.pm at line 327Called as function in /usr/share/perl/5.6.1/CGI.pm at line 397Called as function in /usr/share/perl/5.6.1/CGI.pm at line 494Called as function in /usr/share/perl/5.6.1/CGI.pm at line 495Called as object method in /usr/share/perl/5.6.1/CPAN.pm at line 4957Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 191Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 218Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 248Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 251Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 254Called as object method in /usr/share/perl/5.6.1/Shell.pm at line 28Called as object method in /usr/share/perl/5.6.1/base.pm at line 12
NOTES
Its not fast, but its accurate.
AUTHOR
Michael G Schwern <[email protected]>
SEE ALSO
Module::Info