1PFUNC(1)              User Contributed Perl Documentation             PFUNC(1)
2
3
4

NAME

6       pfunc - grep for perl functions
7

SYNOPSIS

9           pfunc subroutine FILES...
10

DESCRIPTION

12       pfunc searches the named FILES for all calls to the given subroutine.
13       It will report back the file and line number each call is found on
14       along with what sort of call it is
15
16           function            foo()
17           class method        Class->foo()
18           object method       $obj->foo()
19

EXAMPLE

21           $ pfunc isa /usr/share/perl/5.6.1/*.pm
22           Called as function in /usr/share/perl/5.6.1/CGI.pm at line 316
23           Called as function in /usr/share/perl/5.6.1/CGI.pm at line 327
24           Called as function in /usr/share/perl/5.6.1/CGI.pm at line 397
25           Called as function in /usr/share/perl/5.6.1/CGI.pm at line 494
26           Called as function in /usr/share/perl/5.6.1/CGI.pm at line 495
27           Called as object method in /usr/share/perl/5.6.1/CPAN.pm at line 4957
28           Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 191
29           Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 218
30           Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 248
31           Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 251
32           Called as function in /usr/share/perl/5.6.1/Dumpvalue.pm at line 254
33           Called as object method in /usr/share/perl/5.6.1/Shell.pm at line 28
34           Called as object method in /usr/share/perl/5.6.1/base.pm at line 12
35

NOTES

37       Its not fast, but its accurate.
38

AUTHOR

40       Michael G Schwern <schwern@pobox.com>
41

SEE ALSO

43       Module::Info
44
45
46
47perl v5.36.0                      2023-01-20                          PFUNC(1)
Impressum