You can use string literals/barewords unquoted in perl (as per the previous posts) only if you run without use strictThat is not true. Example:
Barewords as hash-keys are implicitely quoted even under strict.use strict; my %hash; $hash{HUBBA}= "it works!"; print $hash{HUBBA};
In reply to Re^2: beginner question - why is hash key unquoted and in capitals
by morgon
in thread beginner question - why is hash key unquoted and in capitals
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |