Hi all,

I'm trying to figure out how to handle uploads from a user.  I found 
this handy FAQ with source code:

http://www.masonhq.com/?FAQ:HTTPAndHTML#h-how_can_i_handle_file_uploads_under_mason_

As I'm using mod_perl, instead of CGI, I gave the second code snippet a 
try and when I did:

# create an Apache::Upload object
my $upload = $r -> upload;

it's complaining that it "Can't locate object method "upload" via 
package "Apache2::RequestRec"."

I'm been trying to figure out how this came about when I was expecting 
an Apache2::Request object?  The only change to the code is that I'm 
using Apache2::Upload instead of Apache::Upload...but that can't be the 
problem, could it?  Has something changed for Apache2?  Or, perhaps my 
setup is wrong somewhere?

Thank you!

Ray



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to