httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Ananiev" <anan...@thegdb.com>
Subject Re: Problem with $req->upload()
Date Wed, 07 Sep 2005 08:21:47 GMT
"Joe Schaefer" <joe+gmane@sunstarsys.com> wrote in message
news:87ek82f87p.fsf@gemini.sunstarsys.com...
> Joe Schaefer <joe+gmane@sunstarsys.com> writes:
>
> > "Nikolay Ananiev" <ananiev@thegdb.com> writes:
> >
> >> Hello,
> >> when I try to use
> >>
> >> my $req = APR::Request::Apache2->handle($r);
> >> my $f = $req->upload('file');
> >
> > Hmm, so far there's no upload() method in APR::Request.
>
> Ah, oops.  It is available after all: APR::Request::upload
> is currently provided by the APR::Request::Param module.
> Go figure.

Thanks, when I load APR::Request::Param the error is gone, but there is
another when I try to use:
my $req = APR::Request::Apache2->handle($r);
my $f = $req->upload('file');
print $f->filename;
print $f->size;
$f->link('/some/path');

There's no such methods.
[Wed Sep 07 11:20:40 2005] [error] Can't locate
auto/APR/Request/Param/link.al in @INC (@INC contains: c:/Doink/lib
c:/Doink/cgi-bin C:/Doink/Perl/lib C:/Doink/Perl/site/lib .
C:/Doink/Apache2) at c:/Doink/cgi-bin/TT.pm line 40\n




Mime
View raw message