On Fri, Oct 04, 2002 at 01:40:49PM -0400, Sean Quinlan wrote:

> Then in the subroutine where you read the file:
>       my $datafile = $CGI->param('datafile');
>       while (<$datafile>) {
>               # some stuff
>       } # while
> 
> That's pretty much all there is to it on the server side. I've always
> found the docs a little confusing on how to get the usuable filehandle,
> but the above always works for me.

Then you must not be using "strict" or perhaps it has been fixed in
newer perls?  I am using "$fh = upload('file')".  (I am happy using
the function interface to CGI.pm.)

-- 
John Tobey <[EMAIL PROTECTED]>
\____^-^
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to