in reply to quotes in hash keys
The closest he comes to explicitly covering this is under "Fat Commas" in the "Reserve => for pairs" section on pages 66 - 68. This quote particulalry stands out " [ The Fat Comma ] also removes the need to quote the key string . . . ." This is recommended because it reduces screen clutter and thus increases the readability of your code (see the "bad" example on page 67).
So, if you like the guidlines set forth in Perl Best Practices then the answer is to only quote hash keys when necessary.
|
|---|