Changing the code to:
my %hash = map { ("$_" => 1) } qw(a b c);
also takes care of the error, although it does not answer your original question :)
--MidLifeXis
In reply to Re: Puzzling syntax error
by MidLifeXis
in thread Puzzling syntax error
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |