1PFCAT(1) User Contributed Perl Documentation PFCAT(1)
2
3
4
6 pfcat - grep out function definitions from perlfunc
7
9 This program uses podgrep program to search your configuration's
10 perlfunc for function definitions. It honors a -f flag to format
11 through pod2text and a -p flag to send the output through the pager.
12 (Actually, 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 Copyright (C) 2006-2014 Mark Leighton Fisher.
45
47 This is free software; you can redistribute it and/or modify it under
48 the terms of either: (a) the GNU General Public License as published by
49 the Free Software Foundation; either version 1, or (at your option) any
50 later version, or (b) the Perl "Artistic License". (This is the Perl 5
51 licensing scheme.)
52
53 Please note this is a change from the original pmtools-1.00 (still
54 available on CPAN), as pmtools-1.00 were licensed only under the Perl
55 "Artistic License".
56
57
58
59perl v5.38.0 2023-07-21 PFCAT(1)