问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/335102/does-develcover-work-under-mod-perl2-on-perl-5-10-for-windows