perlfaq7: simple hash keys are always quoted
authorFather Chrysostomos <sprout@cpan.org>
Sat, 19 Feb 2011 19:50:34 +0000 (11:50 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 20 Feb 2011 01:42:20 +0000 (17:42 -0800)
pod/perlfaq7.pod

index a4f8e7f..fcf270d 100644 (file)
@@ -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