Perl Archives

Drinking the Data::Printer Kool-Aid

A long-time user of Data::Dumper, here. I have seen several talks about using Data::Printer in cases when you want the output to be readable by humans, not machines. I've always meant to eventually get around to checking it out. Today was that day.

I had a huge data structure at work, nested many layers deep and full of repetition with slight variances. My job was to find out what was wrong with it. After looking at the Dumper output for about 10 minutes, I became aware that I had actually stopped looking at the Dumper output a few minutes prior and my mind had wandered somewhere else (squirrel!) So, I decided to see if Data::Printer made the job any easier.

About Dan Wright

user-pic I'm the Treasurer for The Perl Foundation and Team Leader for YAPC::NA. I have organized Perl events including 7 Pittsburgh Perl Workshops and two YAPC::NA's. In my day job, I'm the director of technical operations for I write code and I supervise a team of Perl developers.