missing local
Rafael Kitover [Fri, 26 Mar 2010 23:12:37 +0000 (23:12 +0000)]
lib/DBIx/Class/Storage/DBI.pm

index aa154cf..ed5444b 100644 (file)
@@ -940,7 +940,7 @@ sub _populate_server_info {
 
   my $dbms_ver = eval {
       local $@;
-      $SIG{__WARN__} = sub {};
+      local $SIG{__WARN__} = sub {};
       $self->_get_dbh->get_info(18)
   };