in reply to Filehandles with CGI.pm
the upload() function (new in version 2.47). When called with the name of an upload field, upload() returns a filehandle, or undef if the parameter is not a valid filehandle.(My Emphasis)
So, what you need to do to get the file HANDLE is: (Untested)
my $fh = $q->upload( "file" );
Earth first! (We'll rob the other planets later)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Filehandles with CGI.pm
by abecedae (Initiate) on Jun 22, 2004 at 01:23 UTC | |
by Anonymous Monk on Jun 22, 2004 at 07:50 UTC |