1 #!/usr/bin/perl -w 2 3 # A test to make sure the new Test::Harness was installed properly. 4 5 use Test::More; 6 plan tests => 1; 7 8 my $TH_Version = 2.03; 9 10 require Test::Harness; 11 unless( cmp_ok( eval $Test::Harness::VERSION, '>=', $TH_Version, "T::H version" ) ) { 12 diag <<INSTRUCTIONS; 13 14 Test::Simple/More/Builder has features which depend on a version of 15 Test::Harness greater than $TH_Version. You have $Test::Harness::VERSION. 16 Please install a new version from CPAN. 17 18 If you've already tried to upgrade Test::Harness and still get this 19 message, the new version may be "shadowed" by the old. Check the 20 output of Test::Harness's "make install" for "## Differing version" 21 messages. You can delete the old version by running 22 "make install UNINST=1". 23 24 INSTRUCTIONS 25 } 26