Pod::Index::Extract(3pm)

Pod::Index::Extract3pm

Extracts a "pod scope"

Usage

    use Pod::Index::Extract;
    my $parser = Pod::Index::Extract->new;
    # [...] get $fh_in to the desired position
    $parser->parse_from_filehandle($fh_in, $fh_out);

Overview

This module is a subclass of Pod::Parser. It outputs POD without any transformation; however, it only outputs the POD that is "in scope" as defined in Pod::Index.

To use this module, you first need to position a filehandle at the beginning of the desired scope, and then call "parse_from_filehandle" with that filehandle for input. It will just print the POD until it reaches the end of the scope, after which it will jump to the end of the file.

If the scope starts with an "=item", it will wrap it with an "=over" and a "=back", so it can be used as valid POD in isolation.

Version

0.14

Releases

10 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0–8
  4. 9–10
  5. 11–13

Author

Ivan Tubert-Brohman <[email protected]>

From libpod-index-perl 0.14-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.