Pod::Index::Extract - Extracts a "pod scope"
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);
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.
parse_from_filehandle
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.
=item
=over
=back
0.14
Pod::Index, Pod::Index::Entry, Pod::Parser
Ivan Tubert-Brohman <itub@cpan.org>
Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Pod::Index, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Index
CPAN shell
perl -MCPAN -e shell install Pod::Index
For more information on module installation, please visit the detailed CPAN module installation guide.