1 # This Build.PL for DOM-Tiny was generated by
2 # Dist::Zilla::Plugin::ModuleBuildTiny::Fallback 0.020
6 my %configure_requires = (
7 'Module::Build::Tiny' => '0.034',
11 ! eval "require $_; $_->VERSION($configure_requires{$_}); 1"
12 } keys %configure_requires;
16 # This section for DOM-Tiny was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.014.
21 # use Module::Build::Tiny 0.034;
22 Module::Build::Tiny::Build_PL();
26 if (not $ENV{PERL_MB_FALLBACK_SILENCE_WARNING})
29 *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
31 If you're seeing this warning, your toolchain is really, really old* and you'll
32 almost certainly have problems installing CPAN modules from this century. But
33 never fear, dear user, for we have the technology to fix this!
35 If you're using CPAN.pm to install things, then you can upgrade it using:
39 If you're using CPANPLUS to install things, then you can upgrade it using:
43 If you're using cpanminus, you shouldn't be seeing this message in the first
44 place, so please file an issue on github.
46 This public service announcement was brought to you by the Perl Toolchain
47 Gang, the irc.perl.org #toolchain IRC channel, and the number 42.
51 * Alternatively, you are running this file manually, in which case you need
52 to learn to first fulfill all configure requires prerequisites listed in
53 META.yml or META.json -- or use a cpan client to install this distribution.
55 You can also silence this warning for future installations by setting the
56 PERL_MB_FALLBACK_SILENCE_WARNING environment variable, but please don't do
57 that until you fix your toolchain as described above.
60 sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));
64 # This section was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.041.
68 require Module::Build; Module::Build->VERSION(0.28);
71 my %module_build_args = (
72 "configure_requires" => {
73 "Module::Build::Tiny" => "0.034"
75 "dist_abstract" => "Minimalistic HTML/XML DOM parser with CSS selectors",
77 "Dan Book <dbook\@cpan.org>"
79 "dist_name" => "DOM-Tiny",
80 "dist_version" => "0.001",
81 "license" => "artistic_2",
82 "module_name" => "DOM::Tiny",
83 "recursive_test_files" => 1,
94 "Test::More" => "0.88"
99 my %fallback_build_requires = (
102 "Test::More" => "0.88"
106 unless ( eval { Module::Build->VERSION(0.4004) } ) {
107 delete $module_build_args{test_requires};
108 $module_build_args{build_requires} = \%fallback_build_requires;
111 my $build = Module::Build->new(%module_build_args);
114 $build->create_build_script;