in reply to Re^2: Learning Perl, Hashes Help
in thread Learning Perl, Hashes Help

would have worked, with
foreach $k (@data) {
instead of
foreach (@data) {