[Melbourne-pm] Data::Dumper enhancement

Mathew Robertson mathew.blair.robertson at gmail.com
Tue Jul 27 17:39:06 PDT 2010

Hi PM,

For years I have used Data::Dumper to help me debug my code, usually with
the syntax:

  print Dumper(blah);

It occurred to me that I could save some keystrokes... so went looking at
Dumper.pm and found that 'wantarray' is being used to determine the calling
context for list vs. scalar. But it isn't being used to detect void

Would saving 6 keystrokes would be a useful enhancement?

Mathew Robertson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20100728/bca54eef/attachment.html>

More information about the Melbourne-pm mailing list