Re: [patch] Devel::Cover and mod_perl

2004-05-18 Thread Philippe M. Chiasson
Stas Bekman wrote: Philippe M. Chiasson wrote: Hi, I've been trying to use Devel::Cover under mod_perl, and mod_perl being what it is, things aren't quite working right. After a little bit of probing, I've found the source of the problem. Under mod_perl, we are managing the PL_endav/PL_initav ou

Re: [patch] Devel::Cover and mod_perl

2004-05-18 Thread Stas Bekman
Philippe M. Chiasson wrote: Hi, I've been trying to use Devel::Cover under mod_perl, and mod_perl being what it is, things aren't quite working right. After a little bit of probing, I've found the source of the problem. Under mod_perl, we are managing the PL_endav/PL_initav ourselves, as we nee

Re: [mp2 patch] getting APR to work w/o modperl

2004-05-18 Thread Stas Bekman
Randy Kobes wrote: On Mon, 17 May 2004, Stas Bekman wrote: [ ... ] Randy Kobes wrote: I'll try it for Windows and see how much is involved; if this works as expected, it should just involve changing how things are compiled, as well as the order (APR.so coming first). But one of the joys of working

Re: [mp2 patch] getting APR to work w/o modperl

2004-05-18 Thread Randy Kobes
On Mon, 17 May 2004, Stas Bekman wrote: [ ... ] > Randy Kobes wrote: > > > > I'll try it for Windows and see how much is involved; if > > this works as expected, it should just involve changing > > how things are compiled, as well as the order (APR.so coming > > first). But one of the joys of worki

Re: Apache::Dir

2004-05-18 Thread Geoffrey Young
David Wheeler wrote: > Thanks for the great reply, Geoff. Sorry I didn't get back to you > sooner. I've ben snorkeling for the last week. :-) no problem :) > Right, I understand now. Too bad mod_dir doesn't run during the fixup > phase or something. Seems kinda dumb to run it during the resp

Re: Apache::Dir

2004-05-18 Thread David Wheeler
Thanks for the great reply, Geoff. Sorry I didn't get back to you sooner. I've ben snorkeling for the last week. :-) On May 11, 2004, at 5:19 PM, Geoffrey Young wrote: well, not really :) that's the way it would work with apache 1.3, except that ClearModuleList unloads everything, so you now n

Re: Apache::Dir

2004-05-18 Thread David Wheeler
On May 12, 2004, at 4:55 AM, Radoslaw Zielinski wrote: Save the expense of the regexp as well. :-) You underestimate the optimizations of a good regular expression that simply checks a character anchored at the end of a string, my friend: % cat try #!/usr/bin/perl -w use strict; use Benchmark; my

[patch] Devel::Cover and mod_perl

2004-05-18 Thread Philippe M. Chiasson
Hi, I've been trying to use Devel::Cover under mod_perl, and mod_perl being what it is, things aren't quite working right. After a little bit of probing, I've found the source of the problem. Under mod_perl, we are managing the PL_endav/PL_initav ourselves, as we need to somewhat alter their beha

Re: gcov and mp2 tests coverage

2004-05-18 Thread Paul Johnson
On Mon, May 17, 2004 at 03:13:03PM -0700, Philippe M. Chiasson wrote: > > > Stas Bekman wrote: > >Paul Johnson wrote: > >[...] > > > >>And here is another view on the data, this time with the Perl code > >>included. > >> > >> http://pjcj.sytes.net/cover/mod_perl-1.99_13/cover_db-5.9.2/coverage.ht