From: Rafael Kitover Date: Fri, 26 Mar 2010 23:12:37 +0000 (+0000) Subject: missing local X-Git-Tag: v0.08121~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c8f3ec1d90aa7d80f2a9fa5b08f98cc0625529d2;p=dbsrgits%2FDBIx-Class.git missing local --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index aa154cf..ed5444b 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -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) };