According to perldoc perlpod:
Or you can link to a web page: o "L<scheme:...>" "L<text|scheme:...>" Links to an absolute URL. For example, "L<http://www.perl.org/>" or "L<The Perl Home Page|http://www.perl.org/>".
I have a file (quirk.pod) containing
=pod =head1 Ugly Link Rendering This is an ftp link L<ftp://ftp2.census.gov/geo/tiger/TIGER2010>. L<This is not|http://ftp2.census.gov/geo/tiger/TIGER2010/>.
podchecker has no problem with it. The output of perldoc includes
Ugly Link Rendering This is an ftp link <ftp://ftp2.census.gov/geo/tiger/TIGER2010> +. This is not <http://ftp2.census.gov/geo/tiger/TIGER2010/>.
The vestigial <'s and >'s are ugly and confusing. They make it appear that you omitted a pod formatting code. If I run
/honk/perl5.14.1/bin/pod2html quirk.pod > quirk.html
I see
/honk/perl5.14.1/bin/pod2html: quirk.pod: cannot resolve L<This is not +|http://ftp2.census.gov/geo/tiger/TIGER2010/> in paragraph 3.
and quirk.html contains (among other stuff)
<h1><a name="ugly_link_rendering">Ugly Link Rendering</a></h1> <p>This is an ftp link <a href="ftp://ftp2.census.gov/geo/tiger/TIGER2010">ftp://ftp2.census. +gov/geo/tiger/TIGER2010</a>. <em>This is not</em>.</p>
This is beyond ugly. The second hyperlink has disappeared altogether.

It's hard for me to believe that this is a bug that has managed to go unnoticed (I see it in 5.8.1, 5.12.1 and 5.14.1). So I must have done something wrong in creating the pod. But not wrong enough for podchecker to notice. And it sure looks to me like I'm doing what perlpod told me to do. Any insights?


In reply to hyperlinks in pod by jpl

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.