Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-06-19 03:26 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.