From: Alexander Hartmaier Date: Tue, 19 Oct 2010 06:58:46 +0000 (+0200) Subject: satisfy UnusedVarsTests X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ed628ca39e643b5962c70cd7d07e4186b4958d93;p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate satisfy UnusedVarsTests --- diff --git a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm index 84b61c4..6b41701 100644 --- a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm +++ b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm @@ -256,7 +256,7 @@ sub _update_relation { map {s/^foreign\.//} @rel_cols; #warn "REL_COLS: " . Dumper(@rel_cols); use Data::Dumper; - my $rel_col_cnt = scalar @rel_cols; + #my $rel_col_cnt = scalar @rel_cols; # find out if all related columns are nullable my $all_fks_nullable = 1;