use inc::Module::Install; name 'Getopt-Chain'; all_from 'lib/Getopt/Chain.pm'; resources repository => 'http://github.com/robertkrimen/Getopt-Chain/tree/master'; { require ExtUtils::MakeMaker; use strict; no strict 'refs'; my $libscan = \&{"ExtUtils::MM_Any::libscan"}; *{"ExtUtils::MM_Any::libscan"} = sub { return '' unless $libscan->(@_); return '' if $_[1] =~ /\.sw[p-z]$/; return $_[1]; }; } if (-e 'inc/.author') { my $all_from = join '/', 'lib', split m/-/, name . '.pm'; `perldoc -tF $all_from > README` if ! -e 'README' || (stat $all_from)[9] > (stat 'README')[9]; } { map { my ($pk, $vr) = split m/\s/; build_requires $pk => $vr || 0 } grep { ! /^\s*#/ } split m/\n/, <<_END_; Test::Most #Test::Trap _END_ map { my ($pk, $vr) = split m/\s/; requires $pk => $vr || 0 } grep { ! /^\s*#/ } split m/\n/, <<_END_; Carp::Clan::Share Getopt::Long 2.37 Hash::Param Moose 0.76 MooseX::AttributeHelpers MooseX::MakeImmutable 0.02 Path::Dispatcher _END_ } WriteAll;