You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by tech list <Bl...@gmail.com> on 2010/02/08 03:44:01 UTC

cgi to mod_perl?

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?

Posted by tech list <Bl...@gmail.com>.
On Mon, Feb 8, 2010 at 4:29 PM, André Warnier <aw...@ice-sa.com> 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 saved
> 100 times afterward.
> Also, start with Apache 2.2 and mod_perl 2.x.


Thanks for your kind suggestion.

Re: cgi to mod_perl?

Posted by André Warnier <aw...@ice-sa.com>.
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.