Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: RFC: Data::Dumper::Simple

by Ovid (Cardinal)
on Jul 31, 2004 at 19:43 UTC ( #378969=note: print w/replies, xml ) Need Help??

in reply to Re: RFC: Data::Dumper::Simple
in thread RFC: Data::Dumper::Simple

Generally I would agree with you regarding using a source filter. It certainly isn't my first choice. However, it works in this case because this code is merely a very useful aid in quick debugging. It is not intended to be used for any sort of production work. As such, your interface would be good for a new Data::Dumper interface, but it does not satisfy my "quick debugging" need.

warn Dump { foo => $foo, this => \%this, array => \@array, that => \%that, }; # versus Dumper($foo, %this, @array, %that);

I certainly know which one I'd rather type :)

Side note: it's on it's way to the CPAN (with a version number that I need to fix -- darn it!), but in the interim, you download it from my site and tell me how buggy it is.


New address of my CGI Course.

Replies are listed 'Best First'.
Re^3: RFC: Data::Dumper::Simple
by Aristotle (Chancellor) on Jul 31, 2004 at 20:03 UTC

    Maybe there's a way to fugde it with PadWalker or something similar, instead.

    Makeshifts last the longest.

      OK. That's pretty darned funny. PadWalker was my first attempt :) However, I wound up with some very strange bugs with PadWalker while I was holding aliases to variables in an outer lexical scope. It was very weird. Do you really prefer mucking around in the scratchpads better than a source filter?


      New address of my CGI Course.

        Not by much, but yes, I do. Of course, the real solution would be a real macro system, but it's going to be a while before we can play with that…

        Makeshifts last the longest.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://378969]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2021-04-23 00:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found