eq_deeply with Data::Dumper

| No Comments | No TrackBacks

From http://dev.catalystframework.org/svnweb/bast/revision?rev=8823

use Test::Deep qw(eq_deeply);
...
return eq_deeply($bind_ref1, $bind_ref2);

vs

use Data::Dumper;
...
local $Data::Dumper::Useqq = 1;
local $Data::Dumper::Sortkeys = 1;
return Dumper($bind_ref1) eq Dumper($bind_ref2);

No TrackBacks

TrackBack URL: http://blog.meon.eu/admin/tb/112

Leave a comment

Updates

Subscribe to the blog updates with an email:

If you like it, share it.

Pages

About this Entry

This page contains a single entry by Jozef Kutej published on March 10, 2010 1:56 PM.

print out all dependencies of an unpacked distributions that are (not) packaged for Debian was the previous entry in this blog.

nix für mono-people is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.