diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-02-19 11:50:34 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-02-19 17:42:20 -0800 |
commit | b056a7aa384a2137a7ce032755b4cf7e334b6d61 (patch) | |
tree | e98eb275cfaf0c1ff208c40c90994cd922324b4c | |
parent | 4c7f4b6b5392d642007d0850a1b9fed1b2a678b6 (diff) | |
download | perl-b056a7aa384a2137a7ce032755b4cf7e334b6d61.tar.gz |
perlfaq7: simple hash keys are always quoted
-rw-r--r-- | pod/perlfaq7.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfaq7.pod b/pod/perlfaq7.pod index a4f8e7f2a4..fcf270d9ce 100644 --- a/pod/perlfaq7.pod +++ b/pod/perlfaq7.pod @@ -49,8 +49,8 @@ I<not> use the brackets. These are correct: C<eof(FH)>, C<seek(FH, 0, Normally, a bareword doesn't need to be quoted, but in most cases probably should be (and must be under C<use strict>). But a hash key -consisting of a simple word (that isn't the name of a defined -subroutine) and the left-hand operand to the C<< => >> operator both +consisting of a simple word and the left-hand +operand to the C<< => >> operator both count as though they were quoted: This is like this |