use Data::Dumper; print Dumper(\%test); # printing a ref to a hash is easier to read than printing the hash itself...