From: Arthur Axel 'fREW' Schmidt Date: Thu, 14 Jul 2011 17:33:11 +0000 (-0500) Subject: fix spurious PAUSE message X-Git-Tag: v0.08194~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=55f68788a1e0975e4cc36e0623bf4b70c514b46e;p=dbsrgits%2FDBIx-Class.git fix spurious PAUSE message --- diff --git a/lib/DBIx/Class/Storage/DBI/ADO.pm b/lib/DBIx/Class/Storage/DBI/ADO.pm index 8c64735..36423c4 100644 --- a/lib/DBIx/Class/Storage/DBI/ADO.pm +++ b/lib/DBIx/Class/Storage/DBI/ADO.pm @@ -66,7 +66,7 @@ sub _init { no warnings 'redefine'; require DBD::ADO; - if ($DBD::ADO::VERSION <= 2.98) { + if (DBD::ADO->VERSION <= 2.98) { my $disconnect = *DBD::ADO::db::disconnect{CODE}; *DBD::ADO::db::disconnect = subname 'DBD::ADO::db::disconnect' => sub {