in reply to doubts on perl Hash
In addition to what's been said above, I'd like to throw some more links at you that may be useful in this and future scenarios:
use feature qw/say/; use Data::Dumper; # ... say Dumper \%hash; [download]
Hope these help!