From: Alexander Hartmaier Date: Thu, 10 Jun 2010 13:40:35 +0000 (+0200) Subject: croak instead of die X-Git-Tag: v0.08123~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b48d3b4e8cfadb1988a2c09535a656aedb955c89;p=dbsrgits%2FDBIx-Class.git croak instead of die --- diff --git a/lib/DBIx/Class/SQLAHacks.pm b/lib/DBIx/Class/SQLAHacks.pm index b5c7d33..c3a3f0d 100644 --- a/lib/DBIx/Class/SQLAHacks.pm +++ b/lib/DBIx/Class/SQLAHacks.pm @@ -815,7 +815,7 @@ sub _join_condition { } elsif (ref $cond eq 'ARRAY') { return join(' OR ', map { $self->_join_condition($_) } @$cond); } else { - die "Can't handle this yet!"; + croak "Can't handle this yet!"; } }