develooper Front page | perl.perl5.porters | Postings from January 2017

qr//xx in 5.26?

Thread Next
Karl Williamson
January 5, 2017 22:20
qr//xx in 5.26?
Message ID:
We never have really discussed what happens when we deprecate something 
in order to use the construct for something else.

After 2 deprecation cycles can we just re-use it?  Or do we need 1 or 2 
additional cycles where its attempted use generates a syntax error?

In particular, qr//xx has generated an error since 5.25.1.  There have 
been no reports of problems as a result.

Is it ok to give /xx its new meaning in 5.26? or should it generate an 
error for 5.26, and we defer changing it until 5.27?

And there needs to be some policy in general for this situation.  For 
example, the decision might be different for the unescaped left brace 
deprecation, which has caused lots of problems in 5.25.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About