Ovid wrote at Fri, 14 Jun 2002 16:43:51 +0200:
> It would seem that way, but this is not the case. From the CGI.pm documentation:
>
> When the form is processed, you can retrieve the entered filename by calling
>param():
>
> $filename = $query->param('uploaded_file');
>
> [snip]
>
> The filename returned is also a file handle. You can read the contents of the
>file using
> standard Perl file reading calls:
>
> # Read a text file and print it out
> while (<$filename>) {
> print;
> }
> }
> This has long been a convenience provided for by the CGI module.
>
Oh, cool!
Cheerio,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]