Does Devel::Cover work under mod_perl2 on Perl 5.10 for Windows?
Asked Answered
S

1

0

The mod_perl2 and Perl 5.10 two are playing nicely together, but I can't seem to find any positive information about Devel::Cover working with mod_perl2 under Win32. I'm currently using ActiveState's Perl 5.10, but I would be open to switching to Strawberry Perl if it meant this combination could work.

Also, Devel::Cover PPDs don't seem to be available for Perl 5.10 from ActiveState, Bribes, UWinnipeg, or Trouchelle, so if you have been able to get it to work, what steps did you go through to run a successful make?

Snowclad answered 2/12, 2008 at 19:16 Comment(3)
Where have all the Perl developers gone?Egger
perl.apache.org/docs/2.0/os/win32/install.htmlMihalco
Thanks Brad, but...what does that have to do with code coverage?Snowclad
S
0

It seems more recent builds should now work on Windows and are available from major repos for Perl 5.10.

But actually, when you go to use it, Apache shuts down just after loading, writing this to the error log:

Unfortunately, Devel::Cover does not yet work with threads.  I have done
some work in this area, but there is still more to be done.
Snowclad answered 23/9, 2009 at 15:15 Comment(1)
Just as a general principle, always check the Changes and use the latest version before you ask these sorts of questions. A lot of people don't support older versions because their answer was to fix it and release a newer version. :)Unicorn

© 2022 - 2024 — McMap. All rights reserved.