Revision history for DBIx::Class
* Fixes
- - Overhaul t/53lean_startup.t to better dodge false positives
- Fix $rs->populate([]) to be a no-op rather than an exception
+ - Overhaul t/53lean_startup.t to better dodge false positives
+ - Stop Data::Compare from loading random plugins
0.08193 2011-07-14 17:00 (UTC)
* New Features / Changes
use DBIx::Class::ResultSetColumn;
use Scalar::Util qw/blessed weaken/;
use Try::Tiny;
-use Data::Compare;
+use Data::Compare (); # no imports!!! guard against insane architecture
# not importing first() as it will clash with our own method
use List::Util ();
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 Compare( $left->{$_}, $right->{$_} );
+ delete $right->{$_} if Data::Compare::Compare( $left->{$_}, $right->{$_} );
}
$right = undef unless keys %$right;