Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 2489 invoked from network); 13 Jun 2008 18:40:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2008 18:40:57 -0000 Received: (qmail 60426 invoked by uid 500); 13 Jun 2008 18:40:54 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 60408 invoked by uid 500); 13 Jun 2008 18:40:54 -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 60397 invoked by uid 99); 13 Jun 2008 18:40:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 11:40:54 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [205.194.19.87] (HELO scmze003.ssan.egs-seg.gc.ca) (205.194.19.87) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 18:40:04 +0000 X-SBRS: 3.6 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkQCAPBaUkjGZ6cUiGdsb2JhbACBW2UzjyoBAQEPIJwm X-IronPort-AV: E=Sophos;i="4.27,640,1204502400"; d="scan'208,217";a="281304640" Received: from humpty.tpsgc.gc.ca (HELO mh-ncr-012.ad.pwgsc-tpsgc.gc.ca) ([198.103.167.20]) by scmze000.ssan.egs-seg.gc.ca with ESMTP; 13 Jun 2008 18:39:14 +0000 Received: from mb-ncr-028.ad.pwgsc-tpsgc.gc.ca ([10.20.19.169]) by mh-ncr-012.ad.pwgsc-tpsgc.gc.ca with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Jun 2008 14:39:14 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8CD84.C68EF8BD" Subject: CGI.pm param and mod_perl Date: Fri, 13 Jun 2008 14:39:13 -0400 Message-ID: <1C37FBE46418C54F86B1B0157246EFB203170B4A@mb-ncr-028.ad.pwgsc-tpsgc.gc.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: CGI.pm param and mod_perl Thread-index: AcjNhLhVA2aVcsAWTuCQrvvhKefgXw== From: "Brian Gaber" To: X-OriginalArrivalTime: 13 Jun 2008 18:39:14.0057 (UTC) FILETIME=[C725A790:01C8CD84] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C8CD84.C68EF8BD Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable I have converted a CGI.pm cgi-bin script to run in mod_perl as a Registry. On multiple runs I seem to get old values of a param('var'). I have read the documents and understand I need to be careful with global variables. Is there something I need to be aware of when I use CGI.pm params? One thought, my code is written to use the CGI.pm default object so that I do not have something like $q =3D new CGI; = Could this be the cuase? Thanks. Brian ------_=_NextPart_001_01C8CD84.C68EF8BD Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable CGI.pm param and mod_perl

I have converted a = CGI.pm cgi-bin script to run in mod_perl as a Registry.  On = multiple runs I seem to get old values of a param('var').  I have = read the documents and understand I need to be careful with global = variables.  Is there something I need to be aware of when I use = CGI.pm params?  One thought, my code is written to use the CGI.pm = default object so that I do not have something like $q =3D new = CGI;  Could this be the cuase?

Thanks.

Brian

------_=_NextPart_001_01C8CD84.C68EF8BD--