Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 84619 invoked from network); 25 Sep 2005 22:02:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2005 22:02:20 -0000 Received: (qmail 58128 invoked by uid 500); 25 Sep 2005 22:02:14 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 58110 invoked by uid 500); 25 Sep 2005 22:02:13 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 58094 invoked by uid 99); 25 Sep 2005 22:02:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Sep 2005 15:02:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [129.78.64.57] (HELO ankara.ucc.usyd.edu.au) (129.78.64.57) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Sep 2005 15:02:19 -0700 Received: from ankara.ucc.usyd.edu.au (localhost [127.0.0.1]) by ankara-postfilter.ucc.usyd.edu.au (Postfix) with ESMTP id E0AA11544B3; Mon, 26 Sep 2005 08:01:48 +1000 (EST) Received: from trado.ucc.usyd.edu.au (trado.ucc.usyd.edu.au [129.78.64.14]) by ankara.ucc.usyd.edu.au (Postfix) with ESMTP id BC8E21544B1; Mon, 26 Sep 2005 08:01:48 +1000 (EST) Received: from banquo.ucc.usyd.edu.au (banquo.ucc.usyd.edu.au [129.78.64.11]) by trado.ucc.usyd.edu.au (8.12.10+Sun/8.12.10) with ESMTP id j8PM1mCQ017236; Mon, 26 Sep 2005 08:01:48 +1000 (EST) Date: Mon, 26 Sep 2005 08:01:48 +1000 (EST) From: Jie Gao X-X-Sender: jiegao@banquo.ucc.usyd.edu.au To: Ray Licon Cc: modperl@perl.apache.org Subject: Re: Setting %ENV from modperl handler In-Reply-To: <20050925095300.34978.qmail@web80305.mail.yahoo.com> Message-ID: References: <20050925095300.34978.qmail@web80305.mail.yahoo.com> Organisation: The University of Sydney Telephone: +61 (0)2 9351 5769(W) Fax: +61 (0)2 9351 5001(W) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-usyd-cess: $Revision: 168 $; cleaned=0 defanged=0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sun, 25 Sep 2005, Ray Licon wrote: > Date: Sun, 25 Sep 2005 02:52:59 -0700 (PDT) > From: Ray Licon > To: modperl@perl.apache.org > Subject: Setting %ENV from modperl handler > > Hello, > I'm trying to put a value I obtain from a modperl > handler script into the environmental hash %ENV > available in the cgi perl script, eventually called > via the handler. > > I've tried calls: > > $r->subprocess_env->{'MY_USER'} = 'some_value'; $r->subprocess_env('foo' => 'bar'); Jie