I usually do
which outputs to STDERR and saves one keystroke ;-)ok( $thing->model, $model ) or diag Dumper $thing;
This way you are guaranteed that your output won't interfere with the tests, even though I'm pretty certain that the Dumper output will not interfere.
In reply to Re: Using Data::Dumper in Test-Driven Development
by guha
in thread Using Data::Dumper in Test-Driven Development
by dws
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |