You could use memcached, see Cache::Memcached on CPAN
 
it works great!
 
Denis


Von: Peter1 Alvin [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 15. November 2005 03:11
An: modperl@perl.apache.org
Betreff: mod_perl: How pass variables (objects) from page to page?

Please tell me I can do this!
 
Using mod_perl, how do you keep Perl objects in RAM from page to page?  I don't want to re-instantiate my objects on every page request, and I don't want the overhead of serializing my objects to a persistent store from page to page (I use A LOT of objects).
 
I've done extensive reseach and I've not found any "application space" to store objects indefinitly.
 
I can't believe Perl doesn't support keeping objects in RAM.  This would de-qualify Perl for half of the projects I need to develop.
 
Peter Alvin

Reply via email to