Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I was aware of it. ;-)

    From the Pod of the above module: "Data::Dumper also provides a certain level of pretty printing via the $Data::Dumper::Indent variable but it isn't quite as nice as the Perl::Tidy output".

    In particular, it doesn't do any hash element alignment on => which I find helpful when debugging.

    John.

    --

    • It was also written out of frustration with the formatting of Data::Dumper (it does alignment on => too).
      • it does alignment on => too

        Does it? I tried a few examples, including the one in the docs above, and it doesn't seem to.

        Anyway, I guess the point is that while there are several modules that dump data structures effectively (at least for my needs) there is only one module that does the pretty printing the way I want it (at times when I do want it) and that is Perl::Tidy. That is really what I was aiming for. :-)

        John.

        --