in reply to Re^2: easiest way to print the content of a hash?
in thread easiest way to print the content of a hash?

There is no need to pass references, and the output contains the actual variable names - instead of "VAR1", "VAR2", etc.
it's time again to quote my .vimrc:
:imap dumper <ESC>^iwarn Data::Dumper->Dump([\<ESC>llyw$a], ['<ESC>pa']);<ESC>
let's you type '@myarraydumper' and you'll get
warn Data::Dumper->Dump([\@myarray], ['myarray']);

Data::Dumper is in the core, and with the help of my editor i don't have to type much to get a decent debugging output.