in reply to Hash value printing... WITH ARRAYS *dun dun dun*

Your data structure doesn't look like you think it does. Values can't be arrays. They have to be references. Here's some similar code that may help you get going better. I also threw in a little use of Data::Dumper since it can be handy to figure out what what your data structures look like.
use warnings; use strict; use Data::Dumper; my $primary_features = { foo => [ 'fool', 'food', 'foot', ], bar => [ 'barricade' ] }; print Data::Dumper::Dumper( $primary_features ); while (my ($key, $value) = each(%$primary_features)){ print "($key, $value)\n"; }
Also, note a few things: