I suspect that they do, but when I try it:
############################################
pod2html -infile=c:/perl/lib/pod/perlretut.pod -outfile=perlretut.html
- podpath=c:/perl/lib/pod/ -podroot c:/perl/lib/pod/
############################################
I get "No perl script found in input"
Now that you've made me think of it and try it - I'd be curious if
someone could point me in the right direction as to why the above
doesn't work...
Pay attention to
- podpath=c:/perl/lib/pod/ -podroot c:/perl/lib/pod/
The space between the - and podpath causes pod2html to wait for input
from STDIN. However, I did not get that error message above, so I don't
know exactly want is going on with your system.
There is an extra little problem in that the script thinks ":" is a path
separator (as it is on *nix systems), so:
C:\Perl\lib\Pod> pod2html -infile=c:/perl/lib/pod/perlretut.pod \
-outfile=perlretut.html -podpath=c:/perl/lib/pod/ \
-podroot= c:/perl/lib/pod/
C:\Perl\bin/pod2html.bat: error opening directory c: No such file or
directory
In fact, pod2html --help yields:
--podpath - colon-separated list of directories containing library
pods (empty by default).
--podroot - filesystem base directory from which all relative paths
in podpath stem (default is .).
Now, why didn't you check that?
So, if you really want to use those options, try:
C:\Temp> pod2html -infile=c:/perl/lib/pod/perlretut.pod \
-outfile=perlretut.html -podpath=/perl/lib/pod/ \
-podroot=/perl/lib/pod/
Also, do you have C:\Perl\bin in your path? In that case, there should
not be any need for the extra options.
On my system, both
C:\Perl\lib\pod> pod2html perlretut.pod
and
pod2html -infile=c:/perl/lib/pod/perlretut.pod -outfile=perlretut.html
work. The first one sends output to STDOUT and the other one creates
perlretut.html. OTOH, as I mentioned before, AS Perl already comes with
all docs in HTML format.
Sinan