I have a bunch of PODs spread over multiple Perl script files. I want to write a landing page for all these PODs using another .pod
file.
Say, in the folder /my/root/sub_folder/
I have a script file FirstScript.pl
with the following POD.
=head1 DESCRIPTION
This is the description
=cut
In the TOC.pod
file, I'm trying to link to that section as follows.
=over 4
=item L<Link Text|FirstScript/"DESCRIPTION">
=cut
When I run:
pod2html --podroot=/my/root --podpath=sub_folder --infile=TOC.pod
--outfile=TOC.html
I get get the error:
pod2html: TOC.pod: cannot resolve L<Link Text|FirstScript/"DESCRIPTION">
in paragraph X.
Link is resolved if I add the file extension (.pl) to the name
part of the L<>
code, but then the resulting URL is of the form ".pl.html", which is not how I want the individual outfiles to be like.
What is wrong here? Am I using the podroot
and podpath
in a way that was not meant to be used?