Steffen Mueller wrote: > { > name=>'no_test_pl', > error=>q{This distribution contains a file called 'test.pl' in > its main distribution directory. This indicates that it uses the old > style of creating test suites. Nowadays, tests belong into one or more > *.t files in the t/ subdirectory.},
This doesn't really explain why test.pl is bad. It says "its old" but there's nothing wrong with old, if it works. The real problem is that test.pl is unparsed by "make test" and thus cannot be checked by automated testing. Try something like... This distribution uses 'test.pl' for its tests. The output of 'test.pl' is not parsed. When "make test" is run by automated installers (for example, the CPAN shell) your tests will always appear to have passed no matter what the output of 'test.pl'. Please rename 'test.pl' to a '*.t' file in the t/ directory (for example, t/basic.t). All of t/*.t will be run, and parsed, by "make test".