|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Challenge: Dumping trees.by jmcnamara (Monsignor) |
| on Oct 13, 2012 at 09:13 UTC ( #998828=note: print w/ replies, xml ) | Need Help?? |
|
One option may be Data::Dumper::Perltidy:
Which gives a structure similar to your hand manipulated example:
The perltidy options are explained in the Perltidy manpage. Update: actually this isn't much of an improvement over the base Data::Dumper formatting due to the -boc option but without it Perl::Tidy compacts the branches too much. So, it probably isn't useful in this case.
--
In Section
Meditations
|
|
||||||||||||||||||||