mod_perl: How pass variables (objects) from page to page?

2005-11-14 Thread Peter1 Alvin
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).  

Hitting head against wall: can't get perl to execute file

2005-12-30 Thread Peter1 Alvin
I'm trying to set up modperl on Windows XP. Instead of executing the file, I get this returned to my browser: #!/usr/bin/perl5.8.0 print "Content-type: text/html\n\n"; print "Hello World!\n"; 1; Here is how I load perl: LoadFile "C:/Program Files/Perl/bin/perl58.dll" LoadModule perl_module

Re: Hitting head against wall: can't get perl to execute file

2005-12-30 Thread Peter1 Alvin
Thanks for the quick response! It works with some modifications to your code: PerlModuleModPerl::Registry SetHandlerperl-script PerlResponseHandlerModPerl::Registry Allow from all Options +ExecCGI PerlSendHeader O