Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. In reply to Re^3: easiest way to print the content of a hash?
by tinita
|
|