BEGIN { my @mip = qw( Module::Install::AuthorTests Module::Install::Repository Module::Install::ReadmeFromPod Module::Install::TestBase ); for (@mip) { eval "require $_"; if ($@) { eval "require inc::$_"; if ($@) { warn $@; printf("# Install following (perl Makefile.PL | cpanm):\n%s", join("\n", @mip)); exit 1; } } } }; use inc::Module::Install; name 'Test-Time'; all_from 'lib/Test/Time.pm'; # requires 'Exporter::Lite'; build_requires 'Test::More'; build_requires 'Test::Name::FromLine'; # Module::Install::AuthorTests author_tests('xt'); # Module::Install::Repository auto_set_repository; # Module::Install::TestBase use_test_base; # Module::Install::ReadmeFromPod readme_from 'lib/Test/Time.pm'; auto_include; WriteAll;