The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pod::TOC - Extract a table of contents from a Pod file

SYNOPSIS

This is a Pod::Simple subclass, so it can do the same things.

        use Pod::TOC;

        my $parser = Pod::TOC->new;

        my $toc;
        open my($output_fh), ">", \$toc;

        $parser->output_fh( $output_fh );

        $parser->parse_file( $input_file );

DESCRIPTION

This is a Pod::Simple subclass to extract a table of contents from a pod file. It has the same interface as Pod::Simple, and only changes the internal bits.

SEE ALSO

Pod::Perldoc::ToToc, Pod::Simple

SOURCE AVAILABILITY

This source is in Github:

        https://github.com/briandfoy/pod-perldoc-totoc

AUTHOR

brian d foy, <briandfoy@pobox.com>

COPYRIGHT AND LICENSE

Copyright © 2006-2024, brian d foy <briandfoy@pobox.com>. All rights reserved.

You may redistribute this under the same terms as Perl itself.