The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use strict;
use 5.006;
my %WriteMakefileArgs = (
"ABSTRACT" => "Check for presence of dependencies",
"AUTHOR" => "Leon Timmermans <leont\@cpan.org>",
"BUILD_REQUIRES" => {
"File::Find" => 0,
"File::Temp" => 0,
"Test::CheckDeps" => 0,
"Test::More" => "0.88",
"strict" => 0,
"warnings" => 0
},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
"DISTNAME" => "Dist-Zilla-Plugin-Test-CheckDeps",
"EXE_FILES" => [],
"LICENSE" => "perl",
"NAME" => "Dist::Zilla::Plugin::Test::CheckDeps",
"PREREQ_PM" => {
"Dist::Zilla::Plugin::InlineFiles" => 0,
"Dist::Zilla::Role::PrereqSource" => 0,
"Dist::Zilla::Role::TextTemplate" => 0,
"Moose" => 0,
"Test::CheckDeps" => 0,
"Test::More" => "0.88"
},
"VERSION" => "0.004",
"test" => {
"TESTS" => "t/*.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) };
WriteMakefile(%WriteMakefileArgs);