Notice Devel::Cover will likely soon require perl 5.8 or above as discussed here.

I just successfully installed Devel-Cover-0.40 on Windows XP with perl 5.8.3 as shown below. Sorry, I don't have time to investigate further right now, but a quick search for gettimeofday in perl 5.8 sources brought some hits in Time::HiRes (which is a standard module in 5.8) and in other places also.

# make cp lib/Devel/Cover/DB/File.pm blib\lib\Devel\Cover\DB\File.pm cp lib/Devel/Cover/Statement.pm blib\lib\Devel\Cover\Statement.pm cp lib/Devel/Cover/Subroutine.pm blib\lib\Devel\Cover\Subroutine.pm cp lib/Devel/Cover/DB/Structure.pm blib\lib\Devel\Cover\DB\Structure.p +m cp lib/Devel/Cover/Condition_xor_4.pm blib\lib\Devel\Cover\Condition_x +or_4.pm cp lib/Devel/Cover/Branch.pm blib\lib\Devel\Cover\Branch.pm cp lib/Devel/Cover/Condition_or_2.pm blib\lib\Devel\Cover\Condition_or +_2.pm cp lib/Devel/Cover/Inc.pm blib\lib\Devel\Cover\Inc.pm cp lib/Devel/Cover/Report/Html.pm blib\lib\Devel\Cover\Report\Html.pm cp lib/Devel/Cover/Op.pm blib\lib\Devel\Cover\Op.pm cp lib/Devel/Cover/Condition_and_3.pm blib\lib\Devel\Cover\Condition_a +nd_3.pm cp lib/Devel/Cover.pm blib\lib\Devel\Cover.pm cp lib/Devel/Cover/Report/Html_basic.pm blib\lib\Devel\Cover\Report\Ht +ml_basic.pm cp lib/Devel/Cover/Report/Text.pm blib\lib\Devel\Cover\Report\Text.pm cp lib/Devel/Cover/Report/Text2.pm blib\lib\Devel\Cover\Report\Text2.p +m cp lib/Devel/Cover/Pod.pm blib\lib\Devel\Cover\Pod.pm cp lib/Devel/Cover/Report/Html_minimal.pm blib\lib\Devel\Cover\Report\ +Html_minimal.pm cp lib/Devel/Cover/DB.pm blib\lib\Devel\Cover\DB.pm cp lib/Devel/Cover/Truth_Table.pm blib\lib\Devel\Cover\Truth_Table.pm cp lib/Devel/Cover/Tutorial.pod blib\lib\Devel\Cover\Tutorial.pod cp lib/Devel/Cover/Time.pm blib\lib\Devel\Cover\Time.pm cp lib/Devel/Cover/Condition_or_3.pm blib\lib\Devel\Cover\Condition_or +_3.pm cp lib/Devel/Cover/Criterion.pm blib\lib\Devel\Cover\Criterion.pm cp lib/Devel/Cover/Report/Html_subtle.pm blib\lib\Devel\Cover\Report\H +tml_subtle.pm cp lib/Devel/Cover/Test.pm blib\lib\Devel\Cover\Test.pm cp lib/Devel/Cover/Condition.pm blib\lib\Devel\Cover\Condition.pm D:\Perl58\bin\perl.exe D:\Perl58\lib\ExtUtils/xsubpp -typemap D:\ +Perl58\lib\ExtUtils\typemap -typemap typemap Cover.xs > Cover.xsc && + D:\Perl58\bin\perl.exe -MExtUtils::Command -e mv Cover.xsc Cover.c cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE - +DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT - +DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBU +G -O1 -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" "-ID:\Perl58\lib\ +CORE" Cover.c Cover.c Cover.c(967) : warning C4101: 'RETVAL' : unreferenced local variable Running Mkbootstrap for Devel::Cover () D:\Perl58\bin\perl.exe -MExtUtils::Command -e chmod 644 Cover.bs D:\Perl58\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAM +E'=>\"Devel::Cover\", 'DLBASE' => 'Cover', 'DL_FUNCS' => { }, 'FUNCL +IST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Devel\Cover\Cover.dll -dll -nologo -nodef +aultlib -debug -opt:ref,icf -libpath:"D:\Perl58\lib\CORE" -machine: +x86 Cover.obj D:\Perl58\lib\CORE\perl58.lib oldnames.lib kernel32.l +ib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell +32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr. +lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:Co +ver.def Creating library blib\arch\auto\Devel\Cover\Cover.lib and object bl +ib\arch\auto\Devel\Cover\Cover.exp D:\Perl58\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\ +auto\Devel\Cover\Cover.dll D:\Perl58\bin\perl.exe -MExtUtils::Command -e cp Cover.bs blib\arc +h\auto\Devel\Cover\Cover.bs D:\Perl58\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\ +auto\Devel\Cover\Cover.bs D:\Perl58\bin\perl.exe -MExtUtils::Command -e cp cover blib\script +\cover pl2bat.bat blib\script\cover D:\Perl58\bin\perl.exe -MExtUtils::Command -e cp gcov2perl blib\sc +ript\gcov2perl pl2bat.bat blib\script\gcov2perl # make test D:\Perl58\bin\perl.exe -MExtUtils::Command -e cp cover blib\script +\cover pl2bat.bat blib\script\cover D:\Perl58\bin\perl.exe -MExtUtils::Command -e cp gcov2perl blib\sc +ript\gcov2perl pl2bat.bat blib\script\gcov2perl D:\Perl58\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harnes +s(0, 'blib\lib', 'blib\arch')" t\aalias.t t\aalias1.t t\abranch_retur +n_sub.t t\acond_and.t t\acond_branch.t t\acond_or.t t\acond_xor.t t\a +default_param.t t\adestroy.t t\adynamic_subs.t t\aeval1.t t\afork.t t +\aif.t t\amodule1.t t\amodule2.t t\amodule_import.t t\aoverloaded.t t +\apod.t t\askip.t t\aspecial_blocks.t t\astatement.t t\at0.t t\at1.t +t\at2.t t\atrivial.t t\md5.t t\aalias................ok t\aalias1...............ok t\abranch_return_sub....ok t\acond_and.............ok t\acond_branch..........ok t\acond_or..............ok t\acond_xor.............ok t\adefault_param........ok t\adestroy..............ok t\adynamic_subs.........ok t\aeval1................ok t\afork.................ok 1/1 skipped: Fork unreliable t\aif...................ok t\amodule1..............ok t\amodule2..............ok t\amodule_import........ok t\aoverloaded...........ok t\apod..................ok t\askip.................ok t\aspecial_blocks.......ok t\astatement............ok t\at0...................ok t\at1...................ok t\at2...................ok t\atrivial..............ok t\md5...................ok All tests successful, 1 subtest skipped. Files=26, Tests=26, 294 wallclock secs ( 0.00 cusr + 0.00 csys = 0.0 +0 CPU)

In reply to Re: Devel::Cover on Windows? by eyepopslikeamosquito
in thread Devel::Cover on Windows? by Brutha

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.