Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: What is the impact of 5.18.0?

by smls (Friar)
on May 31, 2013 at 20:26 UTC ( #1036317=note: print w/ replies, xml ) Need Help??


in reply to What is the impact of 5.18.0?

After upgrading to 5.18.0, I too was annoyed by the dev's decision to now make use warnings now also spam "Smartmatch is experimental" messages, since I used given/when/~~ in some of my scripts.

But after more research, it seems there is a good reason for those messages. From perlbug #116913: experimental warning for given/~~ before 5.20.0:

The behavior of given/when/~~ are likely to change in perl 5.20.0: either smart match will be removed or stripped down. In light of this, users of these features should be warned.

So it seems the annoyance is intended, to motivate us to phase out the usage of those features in our scripts.
Still, I think the point would have come across more clearly if the warning would read "Smartmatch is deprecated" instead of "experimental"...


Comment on Re: What is the impact of 5.18.0?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036317]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-07-23 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (153 votes), past polls