John Napiorkowski wrote:
> Hi,
> 
> I submitted a patch against RT: 
> https://rt.cpan.org/Ticket/Display.html?id=47850
> 
> This is related to a minor formatting error in some POD, which, 
> although is safe to ignore from a programming perspective, is causing
>  the vast majority of cpan tester failures for the last few releases.
>  Now that Test::Kwalitee is becoming popular, more and more people
> are going to fail to install TT or something dependent on it, like 
> Catalyst.  I hope we can slip this into the next build.

There seems to be a perl version syntax change between 5.8 and 5.10.
perlpod for 5.8
<http://search.cpan.org/~nwclark/perl-5.8.7/pod/perlpod.pod#Formatting_Codes>
says:

"you can link to a web page:

    * L<scheme:...>

      Links to an absolute URL. For example, L<http://www.perl.org/>.
But note that there is no corresponding L<text|scheme:...> syntax, for
various reasons."

while that for 5.10
<http://perldoc.perl.org/perlpod.html#Formatting-Codes> says:

"you can link to a web page:

    * L<scheme:...>

      Links to an absolute URL. For example, L<<a
href="http://www.perl.org/";>http://www.perl.org/</a>>. But note that
there is no corresponding L<text|scheme:...> syntax, for various reasons."

I agree that the original is broken, in that both versions explicitly
forbid it, but I don't believe the replacement is valid in all perl
versions that TT should run under.

Such a blatant backwards incompatibility that potentially affects many
programs suprprises me. Does anybody know more about it? How can one
write compatible code?

Cheers, Dave


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to