The perlpod
documentation tells me that I can link to URLs using
L<scheme:...>
or L<text|scheme:...>
, it even lists L<The Perl
Home Page|http://www.perl.org/>
as an example.
The first case works fine for me: pod2html
turns
L<http://example.com/>
into
<a href="http://example.com/">http://example.com/</a>
But it fails on
L<example|http://example.com/>
which is just turned into
<em>example</em>
along with a warning:
/usr/bin/pod2html: : cannot resolve L<example|http://example.com/> in paragraph 2.
I would have expected something like
<a href="http://example.com/">example</a>
to be produced. How can I achieve that?
UPDATE So this seems to be a bug in Pod::Html
as Alan Haggai Alavi points out. Is there a workaround?