- COPYRIGHT & LICENSE
Pod::POM::View::TOC - Generate the TOC of a POD with Pod::POM
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 for this document:
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.
<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 & LICENSE
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.