pod2html seems to create correct links to =item sections if the section name is mentioned in a C<>, but not L<>. Is there a way to get it to do so? Using C won't work if I want the text to be different from the section name.

Sample pod and resulting html:

=head1 NAME foo - the foo page. =head1 DESCRIPTION The place for all things foo, L<"bar">, or L</"baz">. =over =item bar A link to C<baz>. And L<another|/baz>. =item baz Baz. =back
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w +3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>foo - the foo page.</title> <link rev="made" href="mailto:gp@familiehaase.de" /> </head> <body style="background-color: white"> <p><a name="__index__"></a></p> <!-- INDEX BEGIN --> <ul> <li><a href="#name">NAME</a></li> <li><a href="#description">DESCRIPTION</a></li> </ul> <!-- INDEX END --> <hr /> <p> </p> <h1><a name="name">NAME</a></h1> <p>foo - the foo page, place for all things.</p> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p>The place for all things foo, <a href="#bar">bar</a>, or <a href="# +baz">baz</a>.</p> <dl> <dt><strong><a name="item_bar">bar</a></strong><br /> </dt> <dd> A link to <a href="#item_baz"><code>baz</code></a>. And <a href="#baz +">another</a>. </dd> <p></p> <dt><strong><a name="item_baz">baz</a></strong><br /> </dt> <dd> Baz. </dd> <p></p></dl> </body> </html>

In reply to creating links to an =item in the same page via pod2html by ysth

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.