On Feb 13, 2008 12:52 AM, Brent Clark <[EMAIL PROTECTED]> wrote:
> 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
>
>
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.
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().
On Feb 12, 2008 8:43 AM, Brent Clark <[EMAIL PROTECTED]> wrote:
> Hi
>
> Heres my silly Q for the day
>
> 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, and heres my
> working code.
>
>
Hi
Heres my silly Q for the day
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, and heres my
working code.
my $filename = $cgi->param("filename");
#my $filename =~ s/.*[\/\