Hi David,
sorry, I did not imply that. All I meant was to relax the spec
(perlpodspec) to tolerate L<text|URL>, and do the same thing
in Test::Pod, i.e. not flag L<text|URL> as an error.
However, I think it would be a sensible restriction to only
Allow absolute (not relative) URLs, i.e.
http://perl.org => ok
/images/diagram.jpg => NOT ok
HTH,
Marek
-----Ursprüngliche Nachricht-----
Von: David E. Wheeler [mailto:[email protected]]
Gesendet: Mittwoch, 30. Dezember 2009 18:33
An: Marek Rouchal
Cc: [email protected]
Betreff: Re: AW: allowing L<text|href>
On Dec 30, 2009, at 9:27 AM, Marek Rouchal wrote:
> My 2c: allow L<text|URL> in future POD. Rendering depends on the
> Output formatter, there are IMHO two options:
> 1. (preferred) render as "clickable" hyperlink to URL, showing <text>
(only)
> 2. render as <text (URL)> for text outputs.
> Can URI be used to safely detect whether URL is an absolute URL?
So you want to add an option to Test::Pod? Would you want to do this for all
things that change between versions of the spec? Sounds like a maintenance
nightmare to me.
Best,
David=