Perl: the Markov chain saw | |
PerlMonks |
Re^2: RFC: Data::Dumper::Simpleby Ovid (Cardinal) |
on Aug 04, 2004 at 16:04 UTC ( [id://380036]=note: print w/replies, xml ) | Need Help?? |
There was one additional nit - which perhaps you can pick -the need to say "print Dumper (\$blah)" - why keep repeating the "print" or "warn" .. wouldn't is be nice to have an OO interface that remembers what you want to do. The latest version of Data::Dumper::Simple supports this.
Or if you'd rather carp and you're already using a sub named Dumper:
There's not much of a savings if you're doing this just once, but if you are doing a lot of debugging, it can save quite a bit of time. Cheers, New address of my CGI Course.
In Section
Meditations
|
|