In the example above, it looks like it has something to do with
CGI::Simple's MyBuilder M::B subclass object, and its use of 'use base'.
Either of the following two changes ameliorate the problem.
I'd suggest the first one as the fix for this, unless just use'ing
Module::Build itself in the import has some kind of big downside that I
don't get.
Index: Shipwright/Util/PatchModuleBuild.pm
===================================================================
--- Shipwright/Util/PatchModuleBuild.pm (revision 1107)
+++ Shipwright/Util/PatchModuleBuild.pm (working copy)
@@ -4,7 +4,7 @@
sub import {
- use Module::Build::Base;
+ use Module::Build;
no warnings qw'redefine';
sub Module::Build::Base::ACTION_manpages {} ## no critic
sub Module::Build::Base::ACTION_docs {} ## no critic
Index: sources/cpan-CGI-Simple/vendor/inc/MyBuilder.pm
===================================================================
--- sources/cpan-CGI-Simple/vendor/inc/MyBuilder.pm (revision 1107)
+++ sources/cpan-CGI-Simple/vendor/inc/MyBuilder.pm (working copy)
@@ -1,5 +1,6 @@
package MyBuilder;
+use Module::Build;
use base qw( Module::Build );
sub create_build_script {