【问题标题】:Does Devel::Cover work under mod_perl2 on Perl 5.10 for Windows?Devel::Cover 在 Windows 的 Perl 5.10 上的 mod_perl2 下工作吗?
【发布时间】:2010-09-25 00:10:28
【问题描述】:

mod_perl2 和 Perl 5.10 两者配合得很好,但我似乎找不到任何关于 Devel::Cover 在 Win32 下使用 mod_perl2 的正面信息。我目前正在使用 ActiveState 的 Perl 5.10,但如果这意味着这种组合可以工作,我愿意切换到 Strawberry Perl。

此外,来自 ActiveState、Bribes、UWinnipeg 或 Trouchelle 的 Perl 5.10 似乎无法使用 Devel::Cover PPD,因此,如果您能够使其工作,您通过哪些步骤来运行成功了吗?

【问题讨论】:

标签: windows perl code-coverage mod-perl2


【解决方案1】:

似乎是more recent builds should now work on Windows,可以从 Perl 5.10 的主要存储库中获得。

但实际上,当你去使用它时,Apache 在加载后就关闭了,并将其写入错误日志:

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.

【讨论】:

  • 作为一般原则,在您提出此类问题之前,请始终检查更改并使用最新版本。很多人不支持旧版本,因为他们的答案是修复它并发布新版本。 :)
猜你喜欢
  • 2011-01-17
  • 2010-11-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-05-08
  • 1970-01-01
  • 1970-01-01
  • 2014-08-16
相关资源
最近更新 更多