[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with rewriting CGI


I have a site that is written with traditional CGI (no cgi.pm ).  I use mod_perl2 but rather than run the scripts as CGI I want to convert them to mod_perl.  I have read Beckman's latest on mod_perl 2 and have Practical Mod_Perl.
 
Here's the question.  From what I have read, it looks like I should re-write my perl scripts as perl modules and make the appropriate changes, such as using $r inside handlers, etc.  Once complete, I can preload the modules at Apache startup.  Is that correct?  Also, I may want to use ajax, therefore, what modules will I need to run Apache2::Ajax?
 
Thanks,
 
Mitch

Mitchell Raful MCSE CCNP
MCB Quantico
Personal and Family Readiness (MRI)
3044 Catlin Avenue
Quantico, VA 22134
Com: 703-784-5991
DSN: 278-5991
Cell: 804-363-0731

 

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.