cleanup require usage so we don't trample on $@ and tweak the DEMOLISH code slightly
[gitmo/Moo.git] / lib / Moo / _mro.pm
index e599045..1cfa949 100644 (file)
@@ -1,5 +1,7 @@
 package Moo::_mro;
 
+local $@;
+
 if ($] >= 5.010) {
   require mro;
 } else {