summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2015-06-11 13:26:53 +0100
committerAaron Crane <arc@cpan.org>2015-06-27 20:39:54 +0100
commit2ad792cd4e9684519736fe03fd28a706b71ceda3 (patch)
tree0e1c101e674ab7b6d9ce906b36f991ea46f07729 /t
parente7b6553ad4b9659368147bbbeb7b10a6e141288b (diff)
downloadperl-2ad792cd4e9684519736fe03fd28a706b71ceda3.tar.gz
The postderef feature is no longer experimental
As proposed by RJBS. The "5.24" feature bundle (and therefore C<< use v5.24 >>) now enable postderef and postderef_qq. I can't find any precedent for what to do with the relevant experimental::* warnings category when an experimental feature graduates to acceptance. I have elected to leave the category in place, so that code doing C<< no warnings "experimental::postderef" >> will continue to work. This means that C<< use warnings "experimental::postderef" >> is also accepted, but has no effect.
Diffstat (limited to 't')
-rw-r--r--t/lib/warnings/toke2
-rw-r--r--t/op/postfixderef.t1
2 files changed, 0 insertions, 3 deletions
diff --git a/t/lib/warnings/toke b/t/lib/warnings/toke
index dab8451484..d65467c218 100644
--- a/t/lib/warnings/toke
+++ b/t/lib/warnings/toke
@@ -1047,8 +1047,6 @@ no warnings 'experimental::postderef';
(\$_)->$*;
"$_->$*";
EXPECT
-Postfix dereference is experimental at - line 3.
-Postfix dereference is experimental at - line 4.
########
# toke.c
use warnings 'portable' ;
diff --git a/t/op/postfixderef.t b/t/op/postfixderef.t
index 79b66dea4b..920bc2db23 100644
--- a/t/op/postfixderef.t
+++ b/t/op/postfixderef.t
@@ -43,7 +43,6 @@ plan(125);
}
use feature 'postderef';
-no warnings 'experimental::postderef';
{
no strict 'refs';