Bug#722443: Any use of "when" now produces warnings
gregor herrmann
gregoa at debian.org
Wed Sep 11 07:34:48 UTC 2013
On Wed, 11 Sep 2013 13:52:21 +0800, jidanni at jidanni.org wrote:
> Severity: wishlist
>
> Any use of "when" now produces warnings.
Correct, smartmatch (and given/when) are marked as experimental
in 5.18:
https://metacpan.org/module/RJBS/perl-5.18.0/pod/perldelta.pod#The-smartmatch-family-of-features-are-now-experimental
https://metacpan.org/module/RJBS/perl-5.18.0/pod/perldelta.pod#New-mechanism-for-experimental-features
> Well they should have warned people earlier not to use it in the first
> place then.
So to fix this bug report, someone has to go back in time to 2007 and
add the experimental mechanism in 5.10; sounds easy :)
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- BOFH excuse #430: Mouse has out-of-cheese-error
More information about the Perl-maintainers
mailing list