Re: Problems with Multiple PerlTransHandlers

2003-12-17 Thread Peter Haworth
ere anyway to "localize" (i.e. ) them so that they are > not always invoked? I don't think works until later phases, but I could be wrong. -- Peter Haworth [EMAIL PROTECTED] If at first you don't succeed, failure may be your thing. -- Warren Miller --

Re: Using Cache::Mmap in mod_perl

2004-07-19 Thread Peter Haworth
that the mod_perl copy of Cache::Mmap is installed correctly. Use CPAN's "force install" option if necessary, and make sure that you are using the perl appropriate to your mod_perl installation. -- Peter Haworth [EMAIL PROTECTED] "Do you count brain rot as a valid

Re: Using Cache::Mmap in mod_perl

2004-07-20 Thread Peter Haworth
ely, I'm off to Japan for the next two weeks, so I can't be any help until then. Hopefully, someone else on the list has seen something like this before. -- Peter Haworth [EMAIL PROTECTED] "Warning! Do not use while asleep!" -- Sears hairdryer instru

Re: Using Cache::Mmap in mod_perl

2004-08-09 Thread Peter Haworth
d after loading. However, read() and _bucket() have both managed to survive to that point in time. -- Peter Haworth [EMAIL PROTECTED] "To me vi is Zen. To use vi is to practice zen. Every command is a koan. Profound to the user, unintelligible to the uninitiated. You discover truth

Re: DBI memory usage

2005-01-18 Thread Peter Haworth
; # Adjust number to taste do { $sth->execute; while(my $row=$sth->fetchrow_arrayref){ # YOUR NORMAL LOOP BODY GOES HERE } } while $sth->rows+0; # It will be '0E0' (0 but true) the last time -- Peter Haworth [EMAIL PROTECTED] "The trouble with ema

Re: DBI memory usage

2005-01-19 Thread Peter Haworth
On Tue, 18 Jan 2005 10:12:06 -0800, Chris Ochs wrote: > On Tue, 18 Jan 2005 10:43:02 +0000, Peter Haworth > <[EMAIL PROTECTED]> wrote: > > By using a cursor, you can specify exactly how much data you want > > at a time: > > DBD::Pg doesn't support cursors. From t

[ANNOUNCE] Cache::Mmap 0.09

2005-11-16 Thread Peter Haworth
all the details of refreshing cache contents, and updating underlying data, if necessary. -- Peter Haworth [EMAIL PROTECTED] ``oh sure, that's what Microsoft WANT - but it'd be no good waking up in the morning feeling blue and thinking "I did not correctly fall asle

Re: Apache::DBI and DBD::Pg

2006-01-17 Thread Peter Haworth
'); Or, if you want this isolation level to apply to everything, say so when you connect: $dbh->do("set default_transaction_isolation to 'serializable'"); I haven't tested any of these, since I haven't needed to change the isolation level since the bad old

Re: Un-baking a baked cookie

2008-01-07 Thread Peter Haworth
of baking when setting the cookie value, I just stuff it into a hash based on the cookie name (which lets me handle multiple cookies this way should the need arise). My application has a method which calls Apache's send_http_header() method, amongst other things, so I just bake all the sav