Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 82409 invoked from network); 25 Apr 2007 23:58:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Apr 2007 23:58:07 -0000 Received: (qmail 3103 invoked by uid 500); 25 Apr 2007 23:58:14 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 2977 invoked by uid 500); 25 Apr 2007 23:58:13 -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 2964 invoked by uid 99); 25 Apr 2007 23:58:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 16:58:13 -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 (herse.apache.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; Wed, 25 Apr 2007 16:58:06 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HgrMe-0001LV-1V for apreq-dev@httpd.apache.org; Thu, 26 Apr 2007 01:57:36 +0200 Received: from adsl-065-012-220-185.sip.bct.bellsouth.net ([65.12.220.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2007 01:57:36 +0200 Received: from joe+gmane by adsl-065-012-220-185.sip.bct.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2007 01:57:36 +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: feature request - error code ( not string ) in perl glue Date: Wed, 25 Apr 2007 19:57:28 -0400 Lines: 14 Message-ID: <87ejm8atxz.fsf@gemini.sunstarsys.com> References: <1458ADF4-1DE4-4E62-930C-BDFBE4F7C155@2xlp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-065-012-220-185.sip.bct.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:LV4BPrlV1dMUxJGnzBmkmjlgdFQ= Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Jonathan Vanasco writes: > Currently , on error, the following return string error messages: > > $req->args_status() > $req->body_status() > $req->param_status() The returned error scalars are dual-variables, so you can compare them numerically or as strings. We probably just need to export more of the actual error codes via APR::Request::Error. -- Joe Schaefer