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'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
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