On 04/02/13 22:08, Brian Fraser wrote:
1. Is there a canonical system path ...
2. Is there a corresponding canonical environment variable ...
No to all of these.
OK
If you want Perl's documentation, the distribution comes with a installhtml
script ...
For Debian 6 "Squeeze" i386, install tools for installing source packages:
$ sudo apt-get install dpkg-dev
Install Perl 5.10.1 source package into my home directory:
$ apt-get source perl
RTFM:
$ cd perl-5.10.1/
$ perldoc installhtml
Install HTML documents:
$ mkdir htdocs
$ perl installhtml --podroot=/home/dpchrist/perl-5.10.1 --podpath=`perl
-e 'print join ":", grep -e, map "../../..$_", @INC'`
--htmldir=/home/dpchrist/perl-5.10.1/htdocs
--htmlroot=/home/dpchrist/perl-5.10.1/htdocs --splithead=pod/perlipc
--splititem=pod/perlfunc
--libpods=perlfunc,perlguts,perlvar,perlrun,perlop --recurse --verbose
splitting files by head.
splitting /home/dpchrist/perl-5.10.1/pod/perlipc.pod
creating /home/dpchrist/perl-5.10.1/pod/perlipc/name.pod
creating /home/dpchrist/perl-5.10.1/pod/perlipc/description.pod
creating /home/dpchrist/perl-5.10.1/pod/perlipc/signals.pod
...
creating /home/dpchrist/perl-5.10.1/pod/perlipc/see_also.pod
splitting files by item.
installhtml: error creating directory
/home/dpchrist/perl-5.10.1/htdocs/../../../etc: Permission denied
I filed a Perl bug report yesterday, but haven't received a confirmation
yet...
Is pod2html the canonical tool for creating the HTML files?
... yes, pod2html is the usual way of of going from pod to HTML.
OK.
Thanks for the help. :-)
David
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/