Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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"...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2016-10-22 21:40 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (298 votes). Check out past polls.