develooper Front page | perl.perl5.porters | Postings from March 2013

[perl #116913] experimental warning for given/~~ before 5.20.0

Thread Previous
Brian Fraser via RT
March 25, 2013 05:59
[perl #116913] experimental warning for given/~~ before 5.20.0
Message ID:
On Sun Feb 24 19:20:57 2013, rjbs wrote:
> 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.  A category "experimental::smartmatch"
> warning
> should be issued for these features when they are used.

The branch introduces three new warnings:

given is experimental
when is experimental
Smartmatch is experimental

The three are under the experimental::smartmatch category. There's a
handful of commits that remove uses of smartmatch throughout the core,
and then a big one that introduces the three warnings & disables them in
the tests.

The last commit are changes to autodie to silence the warning, but that
has upstream => cpan, so it shouldn't be merged.


via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About