MouseX::Types can now use MUTc->export_to_level
Shawn M Moore [Tue, 3 Feb 2009 21:14:24 +0000 (21:14 +0000)]
lib/MouseX/Types.pm

index 68003a8..d6e2d9d 100644 (file)
@@ -22,7 +22,7 @@ sub import {
         }
     }
 
-    return Mouse::Util::TypeConstraints->import( callee => $caller );
+    return Mouse::Util::TypeConstraints->export_to_level(1, $class);
 }
 
 sub _import {