load mro.pm under 5.9.5+, since next::method, etc will have to move there
Brandon L Black [Mon, 4 Jun 2007 04:15:43 +0000 (04:15 +0000)]
lib/MRO/Compat.pm

index fc2d58c..0dfb5f9 100644 (file)
@@ -32,8 +32,9 @@ BEGIN {
         }
     }
 
-    # Provide no-op Class::C3::.*initialize() funcs for 5.9.5+
+    # Load mro.pm and provide no-op Class::C3::.*initialize() funcs for 5.9.5+
     else {
+        require mro;
         no warnings 'redefine';
         *Class::C3::initialize = sub { 1 };
         *Class::C3::reinitialize = sub { 1 };