On Fri, Oct 04, 2002 at 03:34:38PM -0400, Sean Quinlan wrote:
> On Fri, 2002-10-04 at 11:23, John Tobey wrote:
> > 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.)
> 
> Of course I'm using strict. Warnings too. Why do you suggest I'm not, or
> what was broken?
> (This thread no longer relates directly to posters original question)

The brokenness is laid out in a message from Evan A. Zacks.  Or
`perldoc CGI` and search for 'strict'.

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

Reply via email to