Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

CGI, file upload and netscape 7

by aging acolyte (Pilgrim)
on Nov 21, 2002 at 11:57 UTC ( [id://214751] : note . print w/replies, xml ) Need Help??

in reply to CGI, file upload and netscape 7


I have found a work around but not an ideal solution.

The problem is that param("INPUT") is being read as a file handle and so causes problems when passed into XML::Parser.

My solution is to write the open file into a tmp file and then pass that tmp file to the parser.

Can anyone suggest a more elegant solution?

Thanks again