Subject: | Tests fail on Debian systems |
t/pmcat.t and t/pmdesc.t usually fails on Debian systems (see http://matrix.cpantesters.org/?dist=pmtools%202.0.0 for sample fail reports).
Investigation shows that pmpath returns the following
$ ./blib/script/pmpath Carp
/usr/share/perl/5.14/Carp.pm
This is Carp.pm from Debian's system perl, and Debian decided to split .pm and .pod, so the regexp check with "=head1 SYNOPSIS" fails.
It's also questionable whether the pmtools should operate on the system perl (i.e. the first perl found in PATH) at all. IMHO the tools should have the shebangs set to #!perl instead of #!/usr/bin/env perl. Then ExtUtils::MakeMaker would replace the shebangs with the currently used perl.