The porting from mod_perl to mod_perl2 has gone over smoothly. Only thing remaining is the file upload, which did not work.
Looking at the Mason docs (http://masonhq.com/?FAQ:HTTPAndHTML): # NOTE: If you are using libapreq2 + mod_perl2 + Apache 2, # you will need to uncomment the following line: # use Apache::Upload; my $file_contents; my $upload = $r->upload; my $upload_fh = $upload->fh; .... This is the way I carried it out in mod_perl. So, in handler.pl, I added: use Apache2::Request; and: args_method => 'mod_perl', (in the ApacheHandler->new(...) ) Then the code to upload: use Apache2::Upload; # the docs missed the '2' above my $upload = $r->upload; my $upload_fh = $upload->fh; But I get this error: Can't locate object method "fh" via package "APR::Request::Param::Table" at Any clues as to how to get this going or is using Apache2::Request too risky? Thank you Ogden ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

