The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
BEGIN {
  unless(eval q{ use 5.010; 1}) {
    print "Perl 5.010 or better required\n";
    exit;
  }
}

# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.031.
use strict;
use warnings;

use Module::Build 0.28;


my %module_build_args = (
  "build_requires" => {
    "Module::Build" => "0.28"
  },
  "configure_requires" => {
    "Module::Build" => "0.28",
    "perl" => "5.006"
  },
  "dist_abstract" => "DBI Authentication back end for PlugAuth",
  "dist_author" => [
    "Graham Ollis <gollis\@sesda3.com>"
  ],
  "dist_name" => "PlugAuth-Plugin-DBIAuth",
  "dist_version" => "0.04",
  "license" => "perl",
  "module_name" => "PlugAuth::Plugin::DBIAuth",
  "recommends" => {},
  "recursive_test_files" => 1,
  "requires" => {
    "Crypt::PasswdMD5" => 0,
    "DBI" => 0,
    "Log::Log4perl" => 0,
    "PlugAuth" => 0,
    "PlugAuth::Role::Auth" => 0,
    "PlugAuth::Role::Plugin" => 0,
    "Role::Tiny::With" => 0,
    "perl" => "5.010"
  },
  "script_files" => [],
  "test_requires" => {
    "File::HomeDir" => "0.91",
    "File::HomeDir::Test" => 0,
    "File::Spec" => 0,
    "PlugAuth" => 0,
    "Test::Differences" => 0,
    "Test::More" => "0.94",
    "Test::PlugAuth::Plugin::Auth" => 0,
    "YAML" => 0,
    "perl" => "5.010"
  }
);


my %fallback_build_requires = (
  "File::HomeDir" => "0.91",
  "File::HomeDir::Test" => 0,
  "File::Spec" => 0,
  "Module::Build" => "0.28",
  "PlugAuth" => 0,
  "Test::Differences" => 0,
  "Test::More" => "0.94",
  "Test::PlugAuth::Plugin::Auth" => 0,
  "YAML" => 0,
  "perl" => "5.010"
);


unless ( eval { Module::Build->VERSION(0.4004) } ) {
  delete $module_build_args{test_requires};
  $module_build_args{build_requires} = \%fallback_build_requires;
}

my $build = Module::Build->new(%module_build_args);

$build->create_build_script;