develooper Front page | perl.perl5.porters | Postings from September 2016

Re: pounding the smartmatch drum

Thread Previous | Thread Next
From:
Abigail
Date:
September 12, 2016 17:03
Subject:
Re: pounding the smartmatch drum
Message ID:
20160912170641.GA29585@almanda.fritz.box
On Fri, Sep 09, 2016 at 01:50:30PM +0200, Aristotle Pagaltzis wrote:
> * Zefram <zefram@fysh.org> [2016-09-08 03:24]:
> 
> > but code doing it already incurs a "given is experimental" warning.
> 
> True. (At least on recentish perls.)  That’s a fair point.
> 


People on non-recent perls are only going to be surprised if they 
    1) use the given ($@) construct, 
    2) upgrade to 5.26.0 (assuming this proposal makes it to 5.26.0), and
    3) skip all the intermediate perls that do warn.


But people skipping over several versions with an upgrade are always
at a risk of getting surprised. No many how many cycles we have a
"deprecated" (or in this case a retro active "experimental") warning,
it's always theoretical possible someone upgrades from perl that did
not have this warning. That's not something specific to a change to
~~ and/or given.

The only defense against that is to never ever change anything.



Abigail

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About