From: Andy Grundman Date: Thu, 4 Aug 2005 16:02:44 +0000 (+0000) Subject: Disabled 'Use of uninitialized value in subroutine entry' warning X-Git-Tag: v0.03001~75 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f8c4996c81bc00b9381fb92394626049cac2ba05;p=dbsrgits%2FDBIx-Class.git Disabled 'Use of uninitialized value in subroutine entry' warning --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index 2a4d84a..cbd0ffe 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -123,6 +123,9 @@ sub select { if (@{$attrs->{bind}||[]}) { $sth->execute( @{$attrs->{bind}||[]} ); } else { + # disable unexplained 'Use of uninitialized value in subroutine entry' + # warnings + no warnings 'uninitialized'; $sth->execute; } return $sth;