Subject: | Instructions on how it is expected to work under mod_perl? |
The current manpage of Devel::Cover says:
Devel::Cover tries to do the right thing when $MOD_PERL is set.
It would be nice if this could be a bit expanded so I can know what to
expect as a result. At the moment I find no results from the apache
started with Devel::Cover at all. I have tried in the httpd.conf:
<IfDefine PERLCOVER>
<IfModule mod_perl.c>
PerlPassEnv DEVEL_COVER_OPTIONS
<Perl>
use Devel::Cover;
</Perl>
</IfModule>
</IfDefine>
And I have started the apache in various ways, like
/usr/sbin/apache-perl -DPERLCOVER
/usr/sbin/apache-perl -X -DPERLCOVER
DEVEL_COVER_OPTIONS='-db,/tmp/cover_db' /usr/sbin/apache-perl -DPERLCOVER
I find only empty directories /cover_db and /tmp/cover_db. I have
changed the permissions of these directories to 777 without success.
Please consider to dedicate a few words on the correct setup.
Thanks!