On 05/09/07, Gabor Szabo <[EMAIL PROTECTED]> wrote: > I would like to compare data structure in some non-test code. > Test::Deep seems to give all the features I need, except that it is > integrated with > the testing framework.
use Test::Deep::NoTest; print "equal" if eq_deeply($a, $b); but it's not documented and doesn't export as many comparators as Test::Deep so it's not as convenient, I'll fix that. You can then use eq_deeply to compare without involving Test::Builder. You don't get the diagnostics though. I'll try improve the situation over the weekend. It's been on my todo list forever to make a Data::Deep module and just call it from Test::Deep F > How could I use that or what else should I use to compare two deep > data structures? > > Gabor >