1PFCAT(1) User Contributed Perl Documentation PFCAT(1)
2
3
4
6 pfgrep - grep out function definitions from perlfunc
7
9 This program uses podgrep program to search your configuration's perl‐
10 func for function definitions. It honors a -f flag to format through
11 pod2text and a -p flag to send the output through the pager. (Actu‐
12 ally, it just passes these to podgrep.)
13
15 $ pfcat seek
16 (find all seek functions (including sysseek))
17
18 $ pfcat -pf sprintf
19 (sprintf function is formated and sent to pager)
20
21 $ pfcat -f '\bint\b'
22 /usr/local/devperl/lib/5.00554/pod/perlfunc.pod chunk 506
23 int EXPR
24 int
25
26 Returns the integer portion of EXPR. If EXPR is omitted, uses
27 `$_'. You should not use this for rounding, because it truncates
28 towards `0', and because machine representations of floating point
29 numbers can sometimes produce counterintuitive results. Usually
30 `sprintf()' or `printf()', or the `POSIX::floor' or `POSIX::ceil'
31 functions, would serve you better.
32
33 You can also run this using alternate perl binaries, like so:
34
35 $ oldperl -S pfcat open
36 ....
37
39 podgrep(1)
40
42 Copyright (c) 1999 Tom Christiansen
43
44 This is free software. You may modify it and distribute it under
45 Perl's Artistic Licence. Modified versions must be clearly indicated.
46
47
48
49perl v5.8.8 2006-03-30 PFCAT(1)