XP is just a number | |
PerlMonks |
Re: Beautiful recursive printby Eily (Monsignor) |
on Mar 17, 2017 at 10:37 UTC ( [id://1185007]=note: print w/replies, xml ) | Need Help?? |
FYI, Data::Dump comes with Data::Dump::Filtered for which you can provide a callback that will be called on each element to be dumped. With the callback you can replace the output string entirely (eg: replace an int value with a constant, or display it in hexadecimal form), add a comment to be printed with the data, ignore some keys from a hash etc... If it's the formatting you're after maybe perltidy can help you.
In Section
Seekers of Perl Wisdom
|
|