Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 22453 invoked from network); 6 Sep 2005 16:44:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2005 16:44:39 -0000 Received: (qmail 33282 invoked by uid 500); 6 Sep 2005 16:44:39 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 33154 invoked by uid 500); 6 Sep 2005 16:44:38 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 33141 invoked by uid 99); 6 Sep 2005 16:44:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 09:44:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gcaa-apreq-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 09:44:51 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ECgWv-0007gJ-TE for apreq-dev@httpd.apache.org; Tue, 06 Sep 2005 18:42:41 +0200 Received: from adsl-2-124-23.mia.bellsouth.net ([65.2.124.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Sep 2005 18:42:41 +0200 Received: from joe+gmane by adsl-2-124-23.mia.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Sep 2005 18:42:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: apreq-dev@httpd.apache.org To: apreq-dev@httpd.apache.org From: Joe Schaefer Subject: Re: Problem with $req->upload() Date: Tue, 06 Sep 2005 12:41:03 -0400 Lines: 17 Message-ID: <87irxef8tc.fsf@gemini.sunstarsys.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-2-124-23.mia.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:L3Z7YDNvXJgDXkrhspuWnEvRc+c= Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Nikolay Ananiev" 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. Try this instead (requires 2.06-dev I think): use APR::Request::Param; my ($f) = grep {$_->upload} $req->body->param_class("APR::Request::Param")->get("file"); -- Joe Schaefer