in reply to Re^2: How to get the path coverage (or lines of code executed) after running a perl test file
in thread How to get the path coverage (or lines of code executed) after running a perl test file

Because you're installing version 1.11 on Windows. Apparently establishing cross-platform portability within DEV releases before making stable releases hasn't been a high priority for the past couple of releases of that module. Witness the CPAN smoke test reports.

That's the short answer. The long answer involves looking at the source code for the failing tests, the source code of the module, and at the specific test(s) that are failing in an attempt to uncover why this is happening. Once you've got that, you can file a bug report and hope the author fixes it. But first it's probably worthwhile to look at the bug queue and see if this is already in progress or not.

The easiest short-term solution is to install an earlier release. It looks like going back only as far as last month's release of 1.09 will restore Windows compatibility for you. The previous releases are still available on CPAN; http://search.cpan.org/~pjcj/Devel-Cover-1.09/, for example. If 1.09 doesn't work out, try 1.08. Hopefully this issue will be fixed soon.


Dave

  • Comment on Re^3: How to get the path coverage (or lines of code executed) after running a perl test file

Replies are listed 'Best First'.
Re^4: How to get the path coverage (or lines of code executed) after running a perl test file
by perl_help26 (Beadle) on Apr 17, 2014 at 08:01 UTC

    Thanks Dave... But should I manually install the earlier version or does cpan work? Can you please help me with the steps cz I've never really done this before. Thanks again

      $ cpan PJCJ/Devel-Cover-1.09.tar.gz