Switch to use_xshelper(), which is provided by M::I::XSUtil 0.30
[gitmo/Mouse.git] / lib / Mouse / Meta / Class.pm
index 476d8bf..4aa1baa 100644 (file)
@@ -377,6 +377,12 @@ sub _install_modifier {
         };
     }
 
+    # workaround older Perl's bug that caused segv :(
+    {
+        no warnings 'once';
+        our $__not_used = \&_install_modifier; # keep the CV not to be released
+    }
+
     # replace this method itself :)
     {
         no warnings 'redefine';
@@ -473,7 +479,7 @@ Mouse::Meta::Class - The Mouse class metaclass
 
 =head1 VERSION
 
-This document describes Mouse version 0.65
+This document describes Mouse version 0.67
 
 =head1 METHODS