Pod::POM::View::TOC - Generate the TOC of a POD with Pod::POM
my $source = "TOC.pm";
my $parser = Pod::POM->new( warn => 0 );
my $pom = $parser->parse_file( $source );
$toc = $view->print($pom);
Format of $toc
COPYRIGHT & LICENSE
There is a line break after each section. Subsections begin with tabulars to represent their depth.
Moritz Onken, <onken at houseofdesign.de>
<onken at houseofdesign.de>
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
Thanks to Andy Wardley and his great Pod::Pom module.
Copyright 2008 Moritz Onken, 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::POM::View::TOC, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.