[dancer-users] D2 compatibility with Perl 5.8
Sawyer X
xsawyerx at gmail.com
Tue Jan 12 18:22:36 GMT 2016
We have also just released a new version of Dancer2 which fixes a few
notable errors on our part that required 5.10 without noticing.
I think Peter (SysPete) deserved a big ++ here on all the work he did on it:
* https://github.com/PerlDancer/Dancer2/issues/1096
* https://github.com/PerlDancer/Dancer2/issues/1097
* https://github.com/PerlDancer/Dancer2/pull/1098
On Thu, Dec 31, 2015 at 11:48 PM, Darren Duncan <darren at darrenduncan.net>
wrote:
> On 2015-12-31 8:29 AM, Warren Young wrote:
>
>> On Dec 31, 2015, at 8:20 AM, Warren Young <wyml at etr-usa.com> wrote:
>>
>>>
>>> I think we’re either going to have to hold off on D2 for some time, or
>>> as you say, try to get the Xslate plugin backported to 5.8.
>>>
>>
>> It turns out that fixing this is a one-liner:
>>
>> https://github.com/rsimoes/Dancer2-Template-Xslate/pull/7
>>
>> A wish to use //= on a single line in the plugin is a pretty silly reason
>> to require Perl 5.10. :)
>>
>
> Indeed.
>
> In my experience, the most common reasons that Perl code would require a
> version over 5.8 is due to wanting to use some new syntactic features such
> as that, and that instead sticking to the syntax 5.8 has would not change
> the code very much.
>
> There are other, deeper features of Perl versions over 5.8 that make them
> worth upgrading to, but often code incompatibilities aren't due to people
> needing these things, and so for that code it should still support 5.8.
>
> Bottom line, if a Perl module/script you depend on requires a higher Perl
> version number than you have, don't just take that at face value but look
> into it and you may often find that tweaking this module's source is indeed
> the easiest path.
>
> -- Darren Duncan
>
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20160112/6e148762/attachment.html>
More information about the dancer-users
mailing list