Pod::POM::View::TOC - Generate the TOC of a POD with Pod::POM
Version 0.02
my $source = "TOC.pm"; my $toc; my $parser = Pod::POM->new( warn => 0 ); Pod::POM->default_view("Pod::POM::View::TOC"); my $pom = $parser->parse_file( $source ); $toc = $view->print($pom);
$toc
NAME VERSION SYNOPSIS Format of $toc AUTHOR SUPPORT ACKNOWLEDGEMENTS 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.
perldoc Pod::POM::View::TOC
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Pod-POM-View-TOC
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Pod-POM-View-TOC
CPAN Ratings
http://cpanratings.perl.org/d/Pod-POM-View-TOC
Search CPAN
http://search.cpan.org/dist/Pod-POM-View-TOC
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.
cpanm
cpanm Pod::POM::View::TOC
CPAN shell
perl -MCPAN -e shell install Pod::POM::View::TOC
For more information on module installation, please visit the detailed CPAN module installation guide.