Re: [OT] Re: mod_perl regex conundrum

2004-07-15 Thread Stas Bekman
Larry Leszczynski wrote: Between sawampersand and grep'ing my code, I did find an instance of $&. I removed it, but I am still seeing the problem. Did you actually use Devel::SawAmpersand to test it? There are other modules that pull those in, e.g. if you do 'use English'. On a related note, it's

[OT] Re: mod_perl regex conundrum

2004-07-15 Thread Larry Leszczynski
> > Between sawampersand and grep'ing my code, I did find an instance of $&. > > I removed it, but I am still seeing the problem. > > Did you actually use Devel::SawAmpersand to test it? There are other > modules that pull those in, e.g. if you do 'use English'. On a related note, it's possible t

Re: Replicating mod_autoindex's behaviour with a modperl handler

2004-07-15 Thread Rando Christensen
Geoffrey Young wrote: well, if there are absolutely no real files at all, then I don't think DirectoryIndex will work - mod_dir only applies DirectoryIndex when $r->filename ends up being a real directory (a $r->content_type of DIR_MAGIC_TYPE). but other than that it looks ok :) so, if that doesn'

RE: mod_perl regex conundrum

2004-07-15 Thread Simon Miner
Thanks for the suggestion! Between sawampersand and grep'ing my code, I did find an instance of $&. I removed it, but I am still seeing the problem. I have also noticed that the size of our mod_perl processes has doubled since the upgrade (from ~50M to ~100M). Did Perl, Apache, and mod_perl rea

Re: mod_perl regex conundrum

2004-07-15 Thread Stas Bekman
Simon Miner wrote: Thanks for the suggestion! Between sawampersand and grep'ing my code, I did find an instance of $&. I removed it, but I am still seeing the problem. Did you actually use Devel::SawAmpersand to test it? There are other modules that pull those in, e.g. if you do 'use English'. I

Re: Problem with Apache::Session::MySQL

2004-07-15 Thread Perrin Harkins
On Thu, 2004-07-15 at 09:12, Pascal Robert wrote: > > What happens if you explicitly untie the session at the end of the > > request? > > It works, thanks! Good, but be careful -- this means you have a scoping problem. You might be putting your session into a global or accidentally creating a cl

Re: mod_perl regex conundrum

2004-07-15 Thread Stas Bekman
Simon Miner wrote: My company has just upgraded our Apache/mod_perl and supporting software versions, and we are now seeing a strange phenomenon. A piece of code which has always worked speedily up to this point, now occasionally, but predictably, takes 10 times longer to execute. The code fragme

mod_perl regex conundrum

2004-07-15 Thread Simon Miner
Hello,   My company has just upgraded our Apache/mod_perl and supporting software versions, and we are now seeing a strange phenomenon.  A piece of code which has always worked speedily up to this point, now occasionally, but predictably, takes 10 times longer to execute.  The code fragme

Re: Problem with Apache::Session::MySQL

2004-07-15 Thread Pascal Robert
Le 04-07-14, à 18:03, Perrin Harkins a écrit : On Wed, 2004-07-14 at 17:45, Pascal Robert wrote: I have a strange problem with Apache::Session::MySQL. It create a session just fine, but it can't update itself. Usually this means that either your session object isn't going out of scope or the value

Re: APR::Brigade::destroy (re: talk @sophos)

2004-07-15 Thread Stas Bekman
dorian taylor wrote: Thanks for the idea, dorian. Patches are more than welcome. Look at APR::Pool for an example of how to do it in XS. It should be just 2 lines of code :) well, it was indeed just a few lines of code (see the patch attached at the end), but we can't do that in a simple alias o