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";
In reply to Re: RFC: Basic debugging checklist
by kyle
in thread RFC: Basic debugging checklist
by toolic
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |