That's why you should use strict.$ perl use strict; my %var; $var{test.dot} = "a"; ^D Bareword "test" not allowed while "strict subs" in use at - line 3. Bareword "dot" not allowed while "strict subs" in use at - line 3. Execution of - aborted due to compilation errors.
Makeshifts last the longest.
In reply to Re^2: bareword hash keys
by Aristotle
in thread bareword hash keys
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |