in reply to print out keys of hash with carriage returns

I always do this when I just want to see what's in a hash:
use Data::Dumper; print Dumper(\%hash); print Dumper($hashref);
Don't forget the backslash so that a reference gets passed to the function.