Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Perl named operator and builtin subs introduced since 5.6

by ikegami (Patriarch)
on Sep 28, 2023 at 14:00 UTC ( [id://11154724] : note . print w/replies, xml ) Need Help??


in reply to Re: Perl named operator and builtin subs introduced since 5.6
in thread Finding when a feature or keyword was introduced

I've mistakenly said the feature became experimental in 5.18 in the past too. But while the experimental warnings were added in 5.18, it was flagged as experimental in 5.16.

Quote 5.16's perlsyn,

you can say use feature "switch"; to enable an experimental switch feature.

Also,

Under the "switch" feature, Perl gains the experimental keywords given, when, default, continue, and break.

Added break, default and continue to the table.

Replies are listed 'Best First'.
Re^3: Perl named operator and builtin subs introduced since 5.6
by kcott (Archbishop) on Sep 28, 2023 at 14:22 UTC

    ++ I never knew that — you learn something every day. Thanks for the info. :-)

    — Ken