pfcat(1p)

pfcat1p

Grep out function definitions from perlfunc

Overview

This program uses podgrep program to search your configuration's perlfunc for function definitions. It honors a -f flag to format through pod2text and a -p flag to send the output through the pager. (Actually, it just passes these to podgrep.)

Examples

    $ pfcat seek
    (find all seek functions (including sysseek))
    $ pfcat -pf sprintf
    (sprintf function is formatted and sent to pager)
    $ pfcat -f '\bint\b'
    /usr/local/devperl/lib/5.00554/pod/perlfunc.pod chunk 506
    int EXPR
    int
    Returns the integer portion of EXPR. If EXPR is omitted, uses
    `$_'. You should not use this for rounding, because it truncates
    towards `0', and because machine representations of floating point
    numbers can sometimes produce counterintuitive results. Usually
    `sprintf()' or `printf()', or the `POSIX::floor' or `POSIX::ceil'
    functions, would serve you better.

You can also run this using alternate perl binaries, like so:

    $ oldperl -S pfcat open
    ....

AUTHORS and COPYRIGHTS

Copyright (C) 1999 Tom Christiansen.

Copyright (C) 2006-2014 Mark Leighton Fisher.

Releases

13 releases since Debian 2.2 (Potato); the text changed 7 times.

  1. 2.2
  2. 3.0–3.1
  3. 4.0–5.0
  4. 6.0–7
  5. 8–9
  6. 10
  7. 11
  8. 12–13

License

This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.)

Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License".

From pmtools 2.2.0-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.