http://www.perlmonks.org?node_id=744895


in reply to RFC: Basic debugging checklist

Another good link for dumping a data structure is How can I visualize my complex data structure?

I agree with the others that vanilla Data::Dumper isn't the best advice.

I find a useful option to B::Deparse is -p to show where precedence rules have bitten me.

I would say use delimiters even when you're not checking for unexpected white space. Which delimiters you use doesn't really matter, but I've most often seen balanced ones.

print "[$foo] >>>$bar<<< {{$etc}}\n";