XP is just a number | |
PerlMonks |
Re: Perl vs. ModPerlby alien_life_form (Pilgrim) |
on May 31, 2002 at 10:57 UTC ( [id://170668]=note: print w/replies, xml ) | Need Help?? |
Greetings, In fact, you can use mod_perl simply as a CGI accelerator by running under Apache::Registry,or even - egads! - under the wily Apache::PerlRun. In the second case, you would be using mod_perl in a way that's very close to the way you described. Apache::Registry scripts also cache a compiled version of your code, achieving a much better speed up, but only the cleanest and better structured CGI programs will run without modification under Apache::Registry.
And, as others mentioned, there's much, much more to mod_perl, and the SAMS book "the mod_perl developers' cookbook" is a fantastic guide to it.
You can't have everything: where would you put it?
In Section
Seekers of Perl Wisdom
|
|