Bug#702847: libdevel-cover-perl: Failure under mod_perl2 due to using $^X

gregor herrmann gregoa at debian.org
Tue Mar 12 17:43:50 UTC 2013


On Tue, 12 Mar 2013 05:00:35 +0000, Martín Ferrari wrote:

> The old versions relied on mod_perl-specific environment variables to realise
> they were running under mod_perl. The current check ($^X =~ /httpd$/) is pretty
> silly.

There's an upstream issue + pull-request at
https://github.com/pjcj/Devel--Cover/pull/47

-    if ($^X =~ /httpd$/)
+    if ($^X =~ /(apache2|httpd)$/)

Not tremendously sophisticated but should work :)
 
/me just found with $searchengine, that adding .diff or .git to
Github commit URLs make them actually useful, so here we go:

https://github.com/lasse-unity3d/Devel--Cover/commit/41f5a865f5a9a787025ed1a319cde6cf8f6c47f7.patch


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Pink Floyd: The trial
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130312/e4079da9/attachment.pgp>


More information about the pkg-perl-maintainers mailing list