From: Peter Rabbitson Date: Thu, 30 Jun 2016 19:55:55 +0000 (+0200) Subject: Fix POISON_ENV warning missed in both 5c33c8be and 44c1a75d X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4ee643f5a0b025634b15077d4d82028a6ee8e21b;p=dbsrgits%2FDBIx-Class.git Fix POISON_ENV warning missed in both 5c33c8be and 44c1a75d --- diff --git a/t/lib/DBICTest/BaseSchema.pm b/t/lib/DBICTest/BaseSchema.pm index 53036d3..aaaf955 100644 --- a/t/lib/DBICTest/BaseSchema.pm +++ b/t/lib/DBICTest/BaseSchema.pm @@ -96,7 +96,7 @@ if( $ENV{DBICTEST_ASSERT_NO_SPURIOUS_EXCEPTION_ACTION} ) { ( caller(0) eq 'main' and - (caller(1))[0] !~ $interesting_ns_rx + ( (caller(1))[0] || '' ) !~ $interesting_ns_rx ) );