'Sub::Exporter' => 0,
'Scope::Guard' => 0,
},
- ($] >= 5.013007 ? (XS => {}, C => []) : ()),
+ (defined ${^GLOBAL_PHASE} ? (XS => {}, C => []) : ()),
);
groups => { default => [ -all ] },
};
-if ($] >= 5.013007) {
+if (defined ${^GLOBAL_PHASE}) {
eval 'sub in_global_destruction () { ${^GLOBAL_PHASE} eq q[DESTRUCT] }';
}
else {