in reply to Re^2: mutiple array as hash value per key
in thread mutiple array as hash value per key
What you're looking for is probably more like:
while (<>) { chomp; my ($key, @values) = split /,/, $_; push @{$numbers{$key}}, [ @values ]; }
When playing with complex data structures, perldsc and Data::Dumper are your friend.
|
|---|