Perl Pretty Print Hash Data::Dumper

print Data::Dumper->new([\%hArray],[qw(hArray)])->Indent(3)->Quotekeys(0)->Dump;

Internet to the rescue! Only a 1000 diff options to Data::Dumper but this little one liner does the trick!

Leave a Reply

Your email address will not be published.