![]() |
|
more useful options | |
PerlMonks |
Re: including a package - time issueby misc (Pilgrim) |
on Aug 27, 2007 at 10:23 UTC ( #635265=note: print w/replies, xml ) | Need Help?? |
You should probably have a look at modperl. (http://perl.apache.org/) There's also a book available for free: http://modperlbook.org/ Modperl will compile your perl scripts only once, and answer all requests with the already compiled scripts. Update: To go more into the details: It's hard to say what needs 3 seconds, without having more data/the code. I could think of:
However, all of the points above could be solved with modperl, the database connection could also easily be made persistent.(Apache::DBI)
In Section
Seekers of Perl Wisdom
|
|