in reply to File Upload with CGI (Again)

while ( <$filename> )

That's not right, <$fh> needs a filehandle to read from, why did you comment out the preceding line? Have you read "Processing a file upload field" in the documentation?

Replies are listed 'Best First'.
Re^2: File Upload with CGI (Again)
by DougYoung (Initiate) on Jun 01, 2015 at 14:13 UTC
    Because it wasnt working either :)