Revision history for JSON-MaybeXS
+ - fix "can I haz XS?" logic precedence in Makefile.PL
+
1.002004 - 2014-10-11
- support use of PUREPERL_ONLY in Makefile.PL to avoid adding an XS
dependency
# (we also always recommend Cpanel::JSON::XS, just to make sure.)
$WriteMakefileArgs{PREREQ_PM}{'Cpanel::JSON::XS'} = '2.3310'
if not parse_args()->{PUREPERL_ONLY}
- && not eval { require JSON::XS; 1; } && can_xs();
+ and not eval { require JSON::XS; 1; }
+ and can_xs();
$WriteMakefileArgs{MIN_PERL_VERSION} = delete $WriteMakefileArgs{PREREQ_PM}{perl} || 0;