X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSet%2FRecursiveUpdate.pm;h=4e4c370ea4c972b900660cc90938b1aa9b2e2845;hp=6594748e721544db60aa244af7541f3d4599bcb0;hb=75bcf6b8626125cd29e1bb4846022f9de080bd70;hpb=882e0965d8ecbf0320905b794bbbdbc7cc3582f7 diff --git a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm index 6594748..4e4c370 100644 --- a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm +++ b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm @@ -34,7 +34,7 @@ sub recursive_update { } package DBIx::Class::ResultSet::RecursiveUpdate::Functions; -use Carp; +use Carp::Clan; use Scalar::Util qw( blessed ); use List::MoreUtils qw/ any /; @@ -145,7 +145,7 @@ sub recursive_update { # don't throw a warning instead of an exception to give users # time to adapt to the new API - warn( + carp( "No such column, relationship, many-to-many helper accessor or generic accessor '$name'" ) unless $unknown_params_ok;