Subject: | fatal on configure if no EU::CBuilder |
I think the usage of $@ is wrong. What do you think?
Show quoted text
>Can't locate object method "new" via package "ExtUtils::CBuilder" at Makefile.PL line 109.
I have attached the patch.
Regards.
Subject: | namespace-clean-0.24-Makefile.PL.patch |
--- Makefile.PL.orig 2012-11-27 03:47:12.000000000 +0900
+++ Makefile.PL 2013-11-15 11:12:20.522694817 +0900
@@ -99,7 +99,7 @@
# Do we have the configure_requires checker?
local $@;
eval "require ExtUtils::CBuilder;";
- if (! $@ ) {
+ if ( $@ ) {
# They don't obey configure_requires, so it is
# someone old and delicate. Try to avoid hurting
# them by falling back to an older simpler test.