> I noticed I have to use Apache::Request and Apache::Cookie. > In, http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html, there is > a > $r which is request object. How do I create that? Is there an example > anywhere I can follow?
It sounds like you haven't created a mod_perl handler before, this page should answer your questions. http://perl.apache.org/docs/2.0/user/intro/start_fast.html > On 8/10/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: >> >> >> On Aug 10, 2007, at 10:25 PM, Mag Gam wrote: >> >> > I have just started learning perl and mod_perl, and I must admit I >> > am enjoying it a lot! >> > I am tying to upload a file, so I can do some calculations to the >> > file, my question is what is the "correct" and most "efficient" way >> > to upload the file, and perform the calculations? Should I consider >> > using the CGI module? >> >> libapreq >> http://httpd.apache.org/apreq/ >> >> CGI is a close second >> >