Perrin Harkins wrote:
Eric Sammer wrote:
Any DBM file or shared memory caching will be infinitely faster than
making a DB round trip.
Actually, it turns out that this is no longer true. MySQL is really
fast these days. A simple query on a local MySQL is faster than just
about anything except
m the rdbms and
then write it to the cache, but it's trivial when you consider the benefits.
HTH.
--
Eric Sammer
[EMAIL PROTECTED]
http://www.ineoconcepts.com
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
essible via
$r->main() rather than $r->prev() and something was wrong.
Again, thanks for all the help!
--
Eric Sammer
[EMAIL PROTECTED]
http://www.ineoconcepts.com
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
assuming it should
be main rather than prev? The way it is now seems as if it's a redirect
rather than a subrequest.
Either way, it works with $r->prev() even if I'm unclear about why. Once
again, thanks Stas!
--
Eric Sammer
[EMAIL PROTECTED]
http://www.ineoconcepts.com
--
Rep
Eric Sammer wrote:
I'm sure I can solve the problem by moving the PerlInitHandler handler
to something post-uri-translate.
I was wrong. Moving the handler to a Perl*Handler that takes place after
PerlTransHandler does not fix the problem. I have to admit defeat. If
anyone is aware of a fi
populated as expected.
I'm sure I can solve the problem by moving the PerlInitHandler handler
to something post-uri-translate.
--
Eric Sammer
[EMAIL PROTECTED]
http://www.ineoconcepts.com
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
and haven't had a problem.
I'm quite sure it's a minor oversight on my part.
TIA and any help is appreciated.
--
Eric Sammer
[EMAIL PROTECTED]
http://www.ineoconcepts.com
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
ail incorrectly.
If you don't want to pass $r around, you can easily use the
Class::Singleton class to get $r from anywhere under both mod_perl
generations. There is even Apache::Singleton. See:
http://search.cpan.org/search?query=singleton&mode=all
That is also interesting. Thanks.
Tha
y of the current
request object between request phases or parts of the system without
trying to pass around the same $r all over the place (messy as hell).
I really appreciate the quick answers from both you and Stas.
Thanks again.
--
Eric Sammer
[EMAIL PROTECTED]
--
Reporting bugs: h
using
Apache->request() at all - I do get the "original" apache object from
tech arguments to handler() methods, FWIW.
Obviously, this is MP1.x, Apache 1.3.x (on Gentoo Linux, for those
interested).
Thanks in advance and sorry for the scattered email...
--
Eric Sammer
[EMAIL PRO
10 matches
Mail list logo