http://www.perlmonks.org?node_id=342907


in reply to Devel::Cover on Windows?

The requirements for this module necessitate Perl 5.6.1 or greater, the ability to compile XS extensions (emphasis added my own), Storable, Digest::MD5, Pod::Coverage (for POD coverage testing) and Test::Differences (for test failure comparison). The ability to compile XS extensions will necessitate the same compiler installed on your system as what was used to build your Perl installation.

See the nodes A Guide to Installing Modules and A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++.

(By the way, this module is definitely worth the installation effort - It positively has to be the best tool to use to assist and direct your test development efforts).

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001011001100'"

Replies are listed 'Best First'.
Re: Devel::Cover on Windows?
by Brutha (Friar) on Apr 06, 2004 at 13:30 UTC
    Sorry, if I was unclear.

    As I sit behind a firewall, I have no access to PPM packages. So I made most modules by myself, including DBD::DB2, Tk and others. So, I consider myself being able to compile XS extensions. The perl Makefile.PL tells me about the dependent modules, if they are not installed.

    The main problem is, that it does not seem to be as easy as to exchange the call to gettimeofday() with something functional equivalent, like _ftime(). My try did not change the external behaviour of Devel::Cover::get_elapsed(), that was easy to do without knowledge of Devel::Cover internals. But afterwards all tests failed, but only if not run through the debugger. The README says, there is debugger support, so that should not be the problem.

    And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
    (Terry Pratchett, Small Gods)