Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Static CGI.pm to mod_perl2 (not mod_perl)

by hacker (Priest)
on Aug 31, 2007 at 12:13 UTC ( #636309=note: print w/replies, xml ) Need Help??


in reply to Re: Static CGI.pm to mod_perl2 (not mod_perl)
in thread Static CGI.pm to mod_perl2 (not mod_perl)

My application works great with CGI.pm as it stands, but I wanted to turn it into a mod_perl2 application for the performance reasons (vs. using something like Memoize for example).

Or are you saying that simply using CGI.pm and its associated objects within my application, automagically makes it a mod_perl2 application?

  • Comment on Re^2: Static CGI.pm to mod_perl2 (not mod_perl)

Replies are listed 'Best First'.
Re^3: Static CGI.pm to mod_perl2 (not mod_perl)
by perrin (Chancellor) on Aug 31, 2007 at 12:19 UTC
    I'm saying that CGI.pm works correctly in ModPerl::Registry and perl handlers, so you can write your mod_perl application using it. Apache2::Request is faster at parsing parameters than CGI.pm, but in real time the difference is pretty small.