X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest.pm;h=bccf8cf5a1eee82a9e5a818e183447879b454d19;hb=d5e5fb4b47b759b202e552ff1d2f1dd393ac7b39;hp=85e5ee468f440bbd79b881e4d621090b03238af5;hpb=d12d82729445072356504a0bfe4169991c4ea92a;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest.pm b/t/lib/DBICTest.pm index 85e5ee4..bccf8cf 100644 --- a/t/lib/DBICTest.pm +++ b/t/lib/DBICTest.pm @@ -112,7 +112,7 @@ sub _database { } sub __mk_disconnect_guard { - return if $] == '5.013006'; # leaks handles, delaying DESTROY, can't work right + return if DBICTest::RunMode->peepeeness; # leaks handles, delaying DESTROY, can't work right my $db_file = shift; return unless -f $db_file;