You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by gr...@gh-webinteractive.com on 2004/06/21 13:34:37 UTC
migrating to mod_perl
Hello all,
what are the do's and don'ts when porting from perl/CGI to mod_perl?
I have a 5000 line mysql application to modify ( port ) to mod_perl.
what can mod_perl + apache offer me that no other ( php or pure perl +
apache) can?
any advice much appreciated
/G
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: migrating to mod_perl
Posted by Thomas Klausner <do...@zsi.at>.
Hi!
On Mon, Jun 21, 2004 at 04:34:37AM -0700, greger@gh-webinteractive.com wrote:
> what are the do's and don'ts when porting from perl/CGI to mod_perl?
http://perl.apache.org/docs/1.0/guide/porting.html
> what can mod_perl + apache offer me that no other ( php or pure perl +
> apache) can?
Mainly direct access to the Apache API.
You might be interested in reading the mod_perl site
http://perl.apache.org/
and/or some of the excelent books mentioned there.
--
#!/usr/bin/perl http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: migrating to mod_perl
Posted by Vadim <va...@lernet.ru>.
> what are the do's and don'ts when porting from perl/CGI to mod_perl?
1. use lib "module" -> use lib "/home/projects/modules"
2. http://perl.apache.org/docs/1.0/guide/porting.html
--
Vad
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html