# This Makefile.PL for was generated by Dist::Zilla.
# Don't edit it but the dist.ini used to construct it.
BEGIN { require 5.008; }
use strict;
use warnings;
use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
'ABSTRACT' => 'Consume XML with Moose and xpath queries',
'AUTHOR' => 'Robin Smidsrød <robin@smidsrod.no>',
'BUILD_REQUIRES' => {
'Test::Exception' => '0',
'Test::More' => '0',
'utf8' => '0'
},
'CONFIGURE_REQUIRES' => {
'ExtUtils::MakeMaker' => '6.30',
'XML::LibXML' => '1.70'
},
'DISTNAME' => 'XML-Rabbit',
'EXE_FILES' => [
'bin/xpath_extract',
'bin/dump_xml_structure'
],
'LICENSE' => 'perl',
'NAME' => 'XML::Rabbit',
'PREREQ_PM' => {
'Carp' => '0',
'Class::Load' => '0',
'Encode' => '0',
'Moose' => '0.89',
'Moose::Exporter' => '0',
'Moose::Role' => '0',
'Moose::Util::TypeConstraints' => '0',
'MooseX::Role::Parameterized' => '0',
'Perl6::Junction' => '0',
'Scalar::Util' => '0',
'XML::LibXML' => '1.70',
'namespace::autoclean' => '0',
'strict' => '0',
'warnings' => '0'
},
'VERSION' => '0.4.0',
'test' => {
'TESTS' => 't/*.t t/regression/*.t'
}
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
my $pp = $WriteMakefileArgs{PREREQ_PM};
for my $mod ( keys %$br ) {
if ( exists $pp->{$mod} ) {
$pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
}
else {
$pp->{$mod} = $br->{$mod};
}
}
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
exit 0 if incompatible_libxml_version_found();
WriteMakefile(%WriteMakefileArgs);
sub incompatible_libxml_version_found {
use XML::LibXML 1.70;
my $v = XML::LibXML::LIBXML_RUNTIME_VERSION;
return 1 if $v == 20616; # http://www.cpantesters.org/cpan/report/07429432-b19f-3f77-b713-d32bba55d77f
return 0;
}