cgi to mod_perl?
am 08.02.2010 03:44:01 von tech list
Hi again,
We have the projects which were written by perl CGI.
All programs and modules are developed with good style, "use strict"
and "use warnings" are enabled.
Can we simply move all the scripts to run under modperl's Registry?
Will they go without problems? How much improvement for the performance?
Thanks.
Re: cgi to mod_perl?
am 08.02.2010 09:29:03 von aw
tech list wrote:
> Hi again,
>
> We have the projects which were written by perl CGI.
> All programs and modules are developed with good style, "use strict"
> and "use warnings" are enabled.
> Can we simply move all the scripts to run under modperl's Registry?
> Will they go without problems? How much improvement for the performance?
>
About your last question : a lot.
About the other question :
It depends. Generally, yes. But you should really read the documentation
here : http://perl.apache.org/docs/2.0/user/index.html
The time you will spend initially reading this documentation, will be
saved 100 times afterward.
Also, start with Apache 2.2 and mod_perl 2.x.
Do not start with Apache 1.3/mod_perl 1.x.
The Apache 1.3 "end of life" announcement has just gone out, and there
is no reason to lose time with it, nor spend your time later doing a
mod_perl-1 to mod_perl-2 conversion.
Re: cgi to mod_perl?
am 08.02.2010 15:26:52 von tech list
On Mon, Feb 8, 2010 at 4:29 PM, André Warnier wrote:
> About your last question : a lot.
> About the other question :
> It depends. Generally, yes. But you should really read the documentation
> here : http://perl.apache.org/docs/2.0/user/index.html
> The time you will spend initially reading this documentation, will be sav=
ed
> 100 times afterward.
> Also, start with Apache 2.2 and mod_perl 2.x.
Thanks for your kind suggestion.