Chas. Owens wrote:
The XMLin method takes a string, file, or file handle as its argument. Just pass $upload_filehandle to it:my $ref = $xs->XMLin($cgi->upload("filename")); print $xs->XMLout($ref);
Hi Thanks for replying. To be honest, I did try that, but then i was getting this message. read on filehandle failed: Undefined subroutine Fh::read at /usr/lib/perl5/XML/LibXML.pm line 531 at /usr/lib/perl5/XML/LibXML/SAX.pm line 64 at /usr/share/perl5/XML/Simple.pm line 366 I dont mind creating the tmp file, I just think its a very crappy way of doing things. Thanks again Brent Clark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
