]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
croak instead of carp if fixed_fields isn't an arrayref
authorAlexander Hartmaier <abraxxa@cpan.org>
Sat, 23 Oct 2010 14:35:07 +0000 (16:35 +0200)
committerAlexander Hartmaier <abraxxa@cpan.org>
Sat, 23 Oct 2010 14:35:07 +0000 (16:35 +0200)
lib/DBIx/Class/ResultSet/RecursiveUpdate.pm

index 59dbc47311d5368778107044ec6eddd81e3a1250..6626c1c9145b66eb110810baafa722e32314559b 100644 (file)
@@ -50,7 +50,7 @@ sub recursive_update {
     my $source = $self->result_source;
 
     # warn 'entering: ' . $source->from();
-    carp 'fixed fields needs to be an array ref'
+    croak 'fixed fields needs to be an arrayref'
         if defined $fixed_fields && ref $fixed_fields ne 'ARRAY';
 
     if ( blessed($updates) && $updates->isa('DBIx::Class::Row') ) {
This page took 0.024543 seconds and 4 git commands to generate.