X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSet.pm;h=bf4b1d815ec52ad5db39de974b5fd41d17f63843;hb=9859bf7a4ab106f41a4373d8910a84f820e2fcf8;hp=b12fca7a04081ad142c5964043b7a1ac924d76ca;hpb=8d2da21aebb41c0f460c6124e4a128473a18fad6;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index b12fca7..bf4b1d8 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -8,7 +8,7 @@ use DBIx::Class::Exception; use DBIx::Class::ResultSetColumn; use Scalar::Util qw/blessed weaken/; use Try::Tiny; -use Test::Deep::NoTest 'eq_deeply'; +use Data::Compare; # not importing first() as it will clash with our own method use List::Util (); @@ -569,7 +569,7 @@ sub _stack_cond { for (grep { exists $right->{$_} } keys %$left) { # the use of eq_deeply here is justified - the rhs of an # expression can contain a lot of twisted weird stuff - delete $right->{$_} if eq_deeply( $left->{$_}, $right->{$_} ); + delete $right->{$_} if Compare( $left->{$_}, $right->{$_} ); } $right = undef unless keys %$right;