Fix POISON_ENV warning missed in both 5c33c8be and 44c1a75d
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / BaseSchema.pm
index 53036d3..aaaf955 100644 (file)
@@ -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
       )
     );