<IfDefine COVERAGE>
SetEnv PERL5OPT "-MDevel::Cover=-dir,/opt/FES/data"
</IfDefine>
Add a new section in your apachectl (or however you launch apache):
startcover() {
echo -n $"Starting apache with code coverage: "
$http_bin $other_options -DCOVERAGE
}
Adjusting where necessary for different apachectl's (ours is heavily customized, but anyone reasonably familiar with apache administration ought to be able to take it from here).
And then just invoke it thusly:
$ apachectl startcover
--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; =
qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
| [reply] [d/l] [select] |