in reply to printing hashes with multiple values

You can print "@{$value}" or if you just want to give a peek into your data structure, you can ask Data::Dumper to help you:
print Dumper \%hash;