'--splithead' option to 'installhtml' creates incorrect links #12306
This is a bug report for perl from email@example.com,
This is the second in a series of bug reports about 'installhtml' -- a
Bug: The '--splithead' option to installhtml creates incorrect indices
'installhtml' documents the '--splithead' option as follows:
Comma-separated list of pod files to split by the =head directive. The
Let's suppose that I have several files containing POD named like this:
... and that these files have contents like this:
=head1 Feature B
some text but not a link
$ cat xt/split/splithead2.pod
Yet another paragraph
=head1 Feature D
More text; still no link.
When I call:
... I end up with these .html files:
Note that in the source code .pod files, the values for the =head1
In the generated .html files however, the links tend to be composed as
Clicking on those links generates Page Load Errors. There are at least
(1) the "../../" is not resolving to "tmphtml/split/" but to ".". (This
(2) The link is looking for a generated .html file with a basename
Turning to tmphtml/split/splithead1/feature_a.html, I get these links:
<li><p>Forward to <a
(3) The "../../../split/" in both of the "Forward to" and the "Up to"
The .html files are being generated in the directories I expect, but
Thank you very much.
Site configuration information for perl 5.16.0:
Configured by jimk at Sun May 20 20:01:26 EDT 2012.
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Locally applied patches:
@INC for perl 5.16.0:
Environment for perl 5.16.0:
Clarification of one point:
The problem with the basename in the link is not that the "Feature-A" is
On 2012-07-31 02:49, James E Keenan via RT wrote:
Why is the link considered case-insensitive?
"Domain names are not case-sensitive, but other parts of URLs can be."
"URLs in general are case-sensitive (with the exception of machine names)."
Thank you for filing this report. You have helped make Perl better.
With the release yesterday of Perl 5.28.0, this and 185 other issues have been
Perl 5.28.0 may be downloaded via:
If you find that the problem persists, feel free to reopen this ticket.