[dancer-users] D2 compatibility with Perl 5.8
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:
On Thu, Dec 31, 2015 at 11:48 PM, Darren Duncan <darren at darrenduncan.net>
> 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:
>> A wish to use //= on a single line in the plugin is a pretty silly reason
>> to require Perl 5.10. :)
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dancer-users