Subject: | TAP::Harness::JUnit not loading in perl 5.8.9 |
This command works on perl 5.10 and above:
prove --harness=TAP::Harness::JUnit -l t/*/*.t
On perl 5.8.9 it fails with:
Can't locate object method "new" via package "TAP::Harness::JUnit" at /Users/clinton/perl5/perlbrew/perls/perl-5.8.9/lib/site_perl/5.8.9/TAP/Harness/JUnit.pm line 145.
Loading TAP::Harness::Junit first works:
perl -MTAP::Harness::JUnit /Users/clinton/perl5/perlbrew/perls/perl-5.8.9/bin/prove --harness=TAP::Harness::JUnit -l t/*/*.t
but preloading the file with prove -M fails with the same "can't find new" message:
prove -MTAP::Harness::JUnit --harness=TAP::Harness::JUnit -l t/*/*.t
Not sure if this is a bug in TAP::Harness or in TAP::Harness::JUnit