Pod::Html::HtmlTree - class to convert pod files to html tree
use Pod::Html::HtmlTree; use Data::Dumper; my $p = Pod::Html::HtmlTree->new; $p->indir ( '/usr/lib/perl5/site_perl/5.8.3/Pod' ); $p->outdir ( '/tmp/pod' ); $p->mask_dir ( 0777 ); # default is 0775 $p->mask_html( 0777 ); # default is 0664 $p->pod_exts ( [ 'pm' , 'pod' ] ); # default is [pm,pod,cgi,pl] # * you can use all arguments same as Pod::Html has except infile and outfile. # * use * 0 * for argument value which does not require to have value. $p->args({ css =>'http://localhost/pod.css', index => 0, }); my $files = $p->create; print Dumper ( $files );
This module does same as Pod::Html module but make html tree. Read Pod::Html document for more detail.
You may want to look at Pod::ProjectDocs before using this module which may be more fun to you.
Tomohiro Teranishi tomohiro.teranishi@gmail.com
tomohiro.teranishi@gmail.com
Pod::Html
This program is distributed under the Artistic License
To install Pod::Html::HtmlTree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Html::HtmlTree
CPAN shell
perl -MCPAN -e shell install Pod::Html::HtmlTree
For more information on module installation, please visit the detailed CPAN module installation guide.