summaryrefslogtreecommitdiff
path: root/lib/overload.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 /lib/overload.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 'lib/overload.t')
-rw-r--r--lib/overload.t1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/overload.t b/lib/overload.t
index e6f4062932..ef4ce4e593 100644
--- a/lib/overload.t
+++ b/lib/overload.t
@@ -2739,7 +2739,6 @@ package refsgalore {
}
{
use feature 'postderef';
- no warnings 'experimental::postderef';
tell myio; # vivifies *myio{IO} at compile time
use constant ioref => bless *myio{IO}, refsgalore::;
is ioref->$*, 42, '(overloaded constant that is not a scalar ref)->$*';