Brent Clark wrote:
I would like to upload a xml file, and would like the file to sent directly to XMLin().

Im trying to find a way of not have to create the file in /tmp,

Then assign some other path to $CGITempFile::TMPDIRECTORY

As Chas mentioned, you can pass $upload_filehandle to XMLin().

If you mean that you don't want any temporary files to be used, it can't be done, at least not as long as you use CGI.pm for the upload. CGI::upload() creates a temporary file in $CGITempFile::TMPDIRECTORY, and the returned filehandle refers to that file.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to