| Module Info
| Add a review of Data-Show
As always with Damien's modules, there is more than the eye can see.
Have a look at the implementation; I think that's where the payload is.
I'll shamelessly say that Data::TreeDumper will do more and certainly present large amount of data in a, IMVHO, better way. DISPLAY_CALLER_LOCATION => 1 in the argument list (create your own dump function or curry the one from D::TD) will also display the call line.
There are a bunch of dump modules on CPAN, look them up too.
Still, if you are OK with the implementation, did I already say to have a peep?, this can certainly be helpful.
brian d foy may have said that "plain ol' print" was the "best debugger" in his book Mastering Perl. But I think that was only because Data::Show had not been invented yet.
Data::Show gives you (1) the name of the variable you want to "show", (2) the contents of that variable in a readable format, (3) the line the variable is located on, and (4) the file that line is located in.
What more could you want to help simplify your debugging?