The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

use strict;
use warnings;

use 5.008;

use ExtUtils::MakeMaker 6.30;



my %WriteMakefileArgs = (
  "ABSTRACT" => "a tool to scan your Perl code for its prerequisites",
  "AUTHOR" => "Jerome Quelin, Ricardo Signes <rjbs\@cpan.org>",
  "BUILD_REQUIRES" => {},
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => "6.30"
  },
  "DISTNAME" => "Perl-PrereqScanner",
  "EXE_FILES" => [
    "bin/scan-perl-prereqs",
    "bin/scan_prereqs"
  ],
  "LICENSE" => "perl",
  "NAME" => "Perl::PrereqScanner",
  "PREREQ_PM" => {
    "CPAN::Meta::Requirements" => "2.120630",
    "File::Find" => 0,
    "File::Spec::Functions" => 0,
    "FindBin" => 0,
    "Getopt::Long" => 0,
    "Getopt::Long::Descriptive" => 0,
    "List::MoreUtils" => 0,
    "List::Util" => 0,
    "Module::Path" => 0,
    "Moose" => 0,
    "Moose::Role" => 0,
    "PPI" => "1.215",
    "Params::Util" => 0,
    "Scalar::Util" => 0,
    "String::RewritePrefix" => "0.005",
    "lib" => 0,
    "namespace::autoclean" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Temp" => 0,
    "PPI::Document" => 0,
    "Test::More" => "0.96",
    "Try::Tiny" => 0
  },
  "VERSION" => "1.018",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "CPAN::Meta::Requirements" => "2.120630",
  "File::Find" => 0,
  "File::Spec::Functions" => 0,
  "File::Temp" => 0,
  "FindBin" => 0,
  "Getopt::Long" => 0,
  "Getopt::Long::Descriptive" => 0,
  "List::MoreUtils" => 0,
  "List::Util" => 0,
  "Module::Path" => 0,
  "Moose" => 0,
  "Moose::Role" => 0,
  "PPI" => "1.215",
  "PPI::Document" => 0,
  "Params::Util" => 0,
  "Scalar::Util" => 0,
  "String::RewritePrefix" => "0.005",
  "Test::More" => "0.96",
  "Try::Tiny" => 0,
  "lib" => 0,
  "namespace::autoclean" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);