summaryrefslogtreecommitdiff
path: root/toke.c
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 /toke.c
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 'toke.c')
-rw-r--r--toke.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/toke.c b/toke.c
index 71938bd879..763baa5eb0 100644
--- a/toke.c
+++ b/toke.c
@@ -5140,10 +5140,6 @@ Perl_yylex(pTHX)
||(*s == '*' && (s[1] == '*' || s[1] == '{'))
))
{
- Perl_ck_warner_d(aTHX_
- packWARN(WARN_EXPERIMENTAL__POSTDEREF),
- "Postfix dereference is experimental"
- );
PL_expect = XPOSTDEREF;
TOKEN(ARROW);
}