Skip Menu |
 

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 123898
Status: new
Priority: 0/
Queue: autodie

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: smartmatch changes in Perl 5.27.7
Date: Sun, 17 Dec 2017 11:21:51 +0000
To: bug-autodie [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 754b
Smartmatch has changed substantially in bleadperl. This breaks some parts of the autodie distro, which therefore need an update. There are two main changes affecting autodie. The first is that smartmatch overloading now only takes effect on the rhs. The second is that things other than smartmatch-overloaded object references are not valid on the rhs of smartmatch. The first core release with these changes will be Perl 5.27.7, due on 2017-12-20. Blead's bundled copy of autodie has been customised to take account of the core changes. The customised version of autodie should be appropriate for both old and new Perls, though this hasn't been tested. You should find the customisations to be a decent basis for your canonical update. -zefram
Subject: Re: [rt.cpan.org #123898] smartmatch changes in Perl 5.27.7
Date: Fri, 29 Dec 2017 16:43:14 +0000
To: Bugs in autodie via RT <bug-autodie [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 590b
The core smartmatch changes in 5.27.7 have been reverted in blead because of CPAN breakage. Changes along these lines are still likely to be made in the future, but preceded by a deprecation process. The core still has a customised autodie, on the basis that the customisation future-proofs the module. I still recommend that the upstream autodie should incorporate these or similar changes, to allow for the likely future changes to smartmatch. I've tweaked the customised documentation in blead to avoid making now-inaccurate statements about the core changes being current. -zefram


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.