Work around the FIXME in the previous commit
[dbsrgits/DBIx-Class.git] / xt / extra / internals / describe_class_methods.t
index 5a187cc..5d7217b 100644 (file)
@@ -466,7 +466,7 @@ sub add_more_attrs {
   unless(
     ! DBIx::Class::_ENV_::OLD_MRO
       and
-    ${^TAINT}
+    DBIx::Class::_ENV_::TAINT_MODE
   ) {
     #local $TODO = "On 5.10+ -T combined with stash peeking invalidates the pkg_gen (wtf)" if ...