6 use ExtUtils::MakeMaker;
8 $PACKAGE = 'Test::Simple';
9 ($PACKAGE_FILE = $PACKAGE) =~ s|::|/|g;
10 $LAST_API_CHANGE = 0.48;
11 $LAST_THREAD_CHANGE = 0.48;
13 eval "require $PACKAGE";
15 unless ($@) { # Make sure we did find the module.
16 if( ${$PACKAGE.'::VERSION'} < $LAST_API_CHANGE ) {
17 printf <<"CHANGE_WARN", $LAST_API_CHANGE;
19 NOTE: There have been API changes between this version and any older
20 than version %s! Please see the Changes file for details.
26 if( $] >= 5.008001 && $Config{useithreads} &&
27 ${$PACKAGE.'::VERSION'} < $LAST_THREAD_CHANGE
30 printf <<"THREAD_WARN", $LAST_THREAD_CHANGE;
32 NOTE: The behavior of Test::More and threads has changed between this
33 version and any older than version %s! Please see the Changes file
46 VERSION_FROM => "lib/$PACKAGE_FILE.pm",
47 ABSTRACT_FROM => "lib/$PACKAGE_FILE.pm",
48 AUTHOR => 'Michael G Schwern <schwern@pobox.com>',
51 Test::Harness => 2.03,
53 # Added to the core in 5.7.3 and also 5.6.2.
54 INSTALLDIRS => $] >= 5.006002 ? 'perl' : 'site',
55 ($ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),