Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by perrin (Chancellor)
on Aug 31, 2007 at 12:11 UTC ( [id://636308]=note: print w/replies, xml ) Need Help??


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

One thing to keep in mind is that CGI.pm works just fine with mod_perl 2 and you don't need to change your code to use libapreq2 unless you want to. Now, if you do want to use libapreq2, the best place to ask for help with this error is the mailing list, which you can find at http://httpd.apache.org/apreq/.
  • Comment on Re: Static CGI.pm to mod_perl2 (not mod_perl)

Replies are listed 'Best First'.
Re^2: Static CGI.pm to mod_perl2 (not mod_perl)
by hacker (Priest) on Aug 31, 2007 at 12:13 UTC

    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?

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://636308]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-24 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found