On 07/20/2009 03:55:56 AM, Malloy wrote: > Hi, > > I get this error: > > Can't call method "fh" on an undefined value at /path/up line 7.
> <%args> > $upload => 0 > </%args> > <%init> > use Apache2::Upload; > if ($upload) { > my $fh = $r->upload('userfile')->fh; > } > </%init> I haven't used Apache2::Upload -- have you got it to work at all? I've been using $m->cgi_object to upload, that works. Nb. that the form itself must be enctype="multipart/form-data" for file uploading or you will get a dud handle. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users