Codebase list libexception-class-dbi-perl / 5f29fa9a-432d-4d90-92b5-701233e8481a/upstream Makefile.PL
5f29fa9a-432d-4d90-92b5-701233e8481a/upstream

Tree @5f29fa9a-432d-4d90-92b5-701233e8481a/upstream (Download .tar.gz)

Makefile.PL @5f29fa9a-432d-4d90-92b5-701233e8481a/upstreamraw · history · blame

BEGIN {
  use strict; use warnings;
  unless(eval q{ use 5.006; 1}) {
    print "Perl 5.006 or better required\n";
    exit;
  }
}
# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.64.
use strict;
use warnings;
use 5.006;
use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT"           => "DBI Exception objects",
  "AUTHOR"             => "David E. Wheeler <david\@justatheory.com>, Graham Ollis <plicease\@cpan.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME"         => "Exception-Class-DBI",
  "LICENSE"          => "perl",
  "MIN_PERL_VERSION" => "5.006",
  "NAME"             => "Exception::Class::DBI",
  "PM"               => {
    "lib/Exception/Class/DBI.pm" => "\$(INST_LIB)/Exception/Class/DBI.pm"
  },
  "PREREQ_PM" => {
    "DBI"              => "1.28",
    "Exception::Class" => "1.02"
  },
  "TEST_REQUIRES" => {
    "DBD::ExampleP" => 0,
    "DBI"           => "1.28",
    "Test::Harness" => "2.03",
    "Test::More"    => "0.98",
    "base"          => 0
  },
  "VERSION" => "1.04",
  "test"    => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "DBD::ExampleP"    => 0,
  "DBI"              => "1.28",
  "Exception::Class" => "1.02",
  "Test::Harness"    => "2.03",
  "Test::More"       => "0.98",
  "base"             => 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);