use Data::Dumper; print Dumper \%myhash; # oder print Data::Dumper->Dump([\%myhash], ['myhash']);