diff options
author | James E Keenan <jkeenan@cpan.org> | 2016-05-26 20:29:14 -0400 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2017-01-03 12:32:53 -0500 |
commit | f0d9913136619e8b6716f2dfa6d8524a6df9e2c0 (patch) | |
tree | 40ef4a8312179c4fa746e0d0c276824d202f2269 /pod/perlref.pod | |
parent | 66b092637d94a05d3e747623f03f2bfc0679dcb5 (diff) | |
download | perl-f0d9913136619e8b6716f2dfa6d8524a6df9e2c0.tar.gz |
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.
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r-- | pod/perlref.pod | 6 |
1 files 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 |