Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>Has the entire "switch" feature become experimental? </p> </blockquote> <p>No. It has always been.</p> <p>Upd: Oh wow, maybe I'm wrong. I can't find a mention of that in 5.10.0 or .1. Maybe it wasn't? Or maybe they forgot to note it? Either way, it seems they messed up worse than I thought if so! But based on what I've seen since, I think the lesson was learned. (e.g. I still think <code>values $ref</code> is a bad idea, but at least it was marked experimental from day 1.)</p> <blockquote> <p>Are there parts of it I can rely on using without future versions of Perl breaking my code?</p> </blockquote> <p>Technically, no, although the devs are always careful when it comes to backwards compatibility.</p> <blockquote> <p>In general, what is the policy toward changing stable features to experimental?</p> </blockquote> <p>I don't see that ever happening. The deprecation process would be used instead.</p> <hr> <p>Changes so far:</p> <ul> <li><p><code>given</code> is changing from creating a lexical <code>$_</code> to localising <code>$_</code> like foreach loops in 5.18 (or did it already happen in 5.16?).</p></li> <li><p>5.10.1 saw some big changes in smart-matching*. Don't use (smart-matching in) 5.10.0.</p></li> </ul> <p>Possible future changes:</p> <ul> <li>The behaviour of smart-matching* is still a hot topic.</li> </ul> <p>&#42; &mdash; True, this is a feature distinct from given-when, but it's the same or closely related in most people's minds.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload