in reply to Re: printing Hash
in thread printing Hash
But the code still doesn't work.for my $key (keys %mappings) { print "$key - $mappings{$key}{$_} -> $_\n" for keys %{$ma +ppings{$key}} if ($mappings{$key}{$_} > 1); }
syntax error at test.pl line 33, near "} if"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: printing Hash
by bart (Canon) on Mar 25, 2006 at 16:56 UTC | |
by perlbeginner10 (Acolyte) on Mar 26, 2006 at 02:59 UTC |