Disabled 'Use of uninitialized value in subroutine entry' warning
Andy Grundman [Thu, 4 Aug 2005 16:02:44 +0000 (16:02 +0000)]
lib/DBIx/Class/Storage/DBI.pm

index 2a4d84a..cbd0ffe 100644 (file)
@@ -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;