in reply to Puzzling syntax error
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Puzzling syntax error
by FunkyMonk (Bishop) on Aug 15, 2008 at 17:43 UTC |