summaryrefslogtreecommitdiff
path: root/pod/perlref.pod
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2015-07-13 12:58:51 +0100
committerAaron Crane <arc@cpan.org>2015-07-13 13:42:01 +0100
commit1c2511e0acc5a19f9f52fb2be58a4e2750213e6f (patch)
tree0ddb6e3d668f6fae267867032bcea8fc9d51516e /pod/perlref.pod
parent41349288283615495b6de1523783d60c9fd7310b (diff)
downloadperl-1c2511e0acc5a19f9f52fb2be58a4e2750213e6f.tar.gz
Make postfix dereferencing work without the postderef feature
The feature still exists, for compatibility with code that tries to enable it, but it has no effect. The postderef_qq feature still exists, however.
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r--pod/perlref.pod8
1 files changed, 5 insertions, 3 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod
index 8956be5750..e570b72cd3 100644
--- a/pod/perlref.pod
+++ b/pod/perlref.pod
@@ -758,7 +758,9 @@ For example:
$r = [ 1, [ 2, 3 ], 4 ];
$r->[1]->@*; # equivalent to @{ $r->[1] }
-This syntax must be enabled with C<use feature 'postderef'>.
+In Perl 5.20 and 5.22, this syntax must be enabled with C<use feature
+'postderef'>. As of Perl 5.24, no feature declarations are required to make
+it available.
Postfix dereference should work in all circumstances where block
(circumfix) dereference worked, and should be entirely equivalent. This
@@ -781,7 +783,7 @@ Glob elements can be extracted through the postfix dereferencing feature:
Postfix array and scalar dereferencing I<can> be used in interpolating
strings (double quotes or the C<qq> operator), but only if the
-additional C<postderef_qq> feature is enabled.
+C<postderef_qq> feature is enabled.
=head2 Postfix Reference Slicing
@@ -800,7 +802,7 @@ Slices">, also behaves as expected:
As with postfix array, postfix value slice dereferencing I<can> be used
in interpolating strings (double quotes or the C<qq> operator), but only
-if the additional C<postderef_qq> L<feature> is enabled.
+if the C<postderef_qq> L<feature> is enabled.
=head1 Assigning to References