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, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2006-2013, brian d foy, All Rights Reserved.

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