In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/f0d9913136619e8b6716f2dfa6d8524a6df9e2c0?hp=66b092637d94a05d3e747623f03f2bfc0679dcb5>
- Log ----------------------------------------------------------------- commit f0d9913136619e8b6716f2dfa6d8524a6df9e2c0 Author: James E Keenan <[email protected]> Date: Thu May 26 20:29:14 2016 -0400 Place discussion of postfix under DESCRIPTION. Make subheadings more consistent. Say what the WARNING is about. For: RT #128250, based on suggestions by Father Chrysostomos. ----------------------------------------------------------------------- Summary of changes: pod/perlref.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pod/perlref.pod b/pod/perlref.pod index dfbb52cd34..fa9e033aee 100644 --- a/pod/perlref.pod +++ b/pod/perlref.pod @@ -718,7 +718,7 @@ outer() at the time outer is invoked. This has the interesting effect of creating a function local to another function, something not normally supported in Perl. -=head1 WARNING +=head1 WARNING: Don't use references as hash keys X<reference, string context> X<reference, use as hash key> You may not (usefully) use a reference as the key to a hash. It will be @@ -738,7 +738,7 @@ real refs, instead of the keys(), which won't. The standard Tie::RefHash module provides a convenient workaround to this. -=head1 Postfix Dereference Syntax +=head2 Postfix Dereference Syntax Beginning in v5.20.0, a postfix syntax for using references is available. It behaves as described in L</Using References>, but instead @@ -798,7 +798,7 @@ 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 C<postderef_qq> L<feature> is enabled. -=head1 Assigning to References +=head2 Assigning to References Beginning in v5.22.0, the referencing operator can be assigned to. It performs an aliasing operation, so that the variable name referenced on the -- Perl5 Master Repository
