projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7f4b6
)
perlfaq7: simple hash keys are always quoted
author
Father Chrysostomos
<sprout@cpan.org>
Sat, 19 Feb 2011 19:50:34 +0000
(11:50 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 20 Feb 2011 01:42:20 +0000
(17:42 -0800)
pod/perlfaq7.pod
patch
|
blob
|
history
diff --git
a/pod/perlfaq7.pod
b/pod/perlfaq7.pod
index
a4f8e7f
..
fcf270d
100644
(file)
--- 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 define
d
-
subroutine) and the left-hand
operand to the C<< => >> operator both
+consisting of a simple word
and the left-han
d
+operand to the C<< => >> operator both
count as though they were quoted:
This is like this