> On Tue, Jul 27, 2004 at 12:37:11PM -0400, Sean Davis wrote:
> > if ($q->param('upload_file')) {
> > my $fh=$q->upload('upload_file');
> ^^^^^^
>
> Perhaps that should be param, not upload. I'm not familiar with an
> upload method in the CGI module.
>
>
Please check the docs, the 'upload' method is "new" as of version 2.47,
http://search.cpan.org/~lds/CGI.pm-3.05/CGI.pm#CREATING_A_FILE_UPLOAD_FIELD
But very much there. I use it. Didn't see anything in my first glance at
the code though.
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>