NAME

Pod::POM::View::TOC - Generate the TOC of a POD with Pod::POM

VERSION

Version 0.02

SYNOPSIS

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);

Format of $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.

AUTHOR

Moritz Onken, <onken at houseofdesign.de>

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Pod::POM::View::TOC

You can also look for information at:

ACKNOWLEDGEMENTS

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.