
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 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.

Moritz Onken, <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:

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.