Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-10 Thread Jason Czerak
On Sat, 2002-02-09 at 09:50, Mike McLagan wrote: I asked this question before. I had the same problem on _one_ of my machines but not any of the others. Is this perl 5.6.1 (or 5.6.0 even I dunno). And Do these perl installs have threading enabled? are they self compiled. if you said YES

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-10 Thread Perrin Harkins
Keep in mind I tried several version of CGI.pm. Where the problem is (and yes, I did hack CGI.pm and fixed it but felt it was unnessary to hack CGI.pm since it wasn't at fault and didn't want to break other working apps), e, the problem is in the read_from_client() call where CGI.pm

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-09 Thread Mike McLagan
On Fri, 8 Feb 2002 17:02:20 + (GMT), Ged Haywood wrote: My message is about data space. The data space for the modules does not seem to be recreated or reinitialized (BEGIN blocks are not rerun) from one invocation of a script to another. Yes, this is well known to mod_perl users

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-09 Thread Tim Tompkins
Saying that BEGIN blocks should be re-run on every invocation of the script in mod_perl is like saying that you must re-start your car every time you stop even though the engine may still be running. The fact that BEGIN blocks only execute once per server instance is expected simply by

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-09 Thread Philip M. Gollucci
try print B::show(), \n; END -- Philip M. Gollucci (p6m7g8) [EMAIL PROTECTED] 301.314.3118 Science, Discovery, the Universe (UMCP) Webmaster Webship Teacher URL: http://www.sdu.umd.edu EJPress.com

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-08 Thread Mike McLagan
On Fri, 8 Feb 2002 02:42:31 + (GMT), Ged Haywood wrote: Hi again Could you give me the specific jump tag for the section you are refering to please? =head3 Reloading Configuration Files Ged, I read this over. It does not directly address the issue that I brought up in my original

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-08 Thread Ged Haywood
Hi Mike, On Fri, 8 Feb 2002, Mike McLagan wrote: My message is about data space. The data space for the modules does not seem to be recreated or reinitialized (BEGIN blocks are not rerun) from one invocation of a script to another. Yes, this is well known to mod_perl users and it's in

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-08 Thread Tim Tompkins
-- Programmer http://www.arttoday.com/ http://www.rebelartist.com/ -- - Original Message - From: Mike McLagan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 10:59 AM Subject: Weird mod_perl CGI.pm interaction (Bug

Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan
Hello, I have two scripts, call them A and B. Here's what I'm doing (paraphrased heavily to save posting a huge pile of code): In data.html, I have: !--#include virtual=A?action=show -- In A, I have: $q = new CGI; show() if $q-param('action') eq 'show'; sub show {

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood
Hi there, On Thu, 7 Feb 2002, Mike McLagan wrote: I have two scripts, call them A and B. [snip] $q = new CGI; [snip] Inveriably, I end up with B::show() in my output, not at all what I wanted, Isn't this mentioned in the mod_perl Guide? http://perl.apache.org/guide 73, Ged.

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Jason Czerak
On Thu, 2002-02-07 at 13:38, Ged Haywood wrote: Hi there, On Thu, 7 Feb 2002, Mike McLagan wrote: I have two scripts, call them A and B. [snip] $q = new CGI; [snip] Inveriably, I end up with B::show() in my output, not at all what I wanted, Isn't this mentioned in the

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan
On Thu, 7 Feb 2002 18:38:53 + (GMT), Ged Haywood wrote: Hi there, On Thu, 7 Feb 2002, Mike McLagan wrote: I have two scripts, call them A and B. [snip] $q = new CGI; [snip] Inveriably, I end up with B::show() in my output, not at all what I wanted, Isn't this mentioned in the

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood
Hi there, On Thu, 7 Feb 2002, Mike McLagan wrote: Isn't this mentioned in the mod_perl Guide? http://perl.apache.org/guide I dug thru the guide and I found no mention at all of anything similar to this. http://perl.apache.org/guide/porting.html 73, Ged.

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan
On Fri, 8 Feb 2002 01:18:19 + (GMT), Ged Haywood wrote: On Thu, 7 Feb 2002, Mike McLagan wrote: Isn't this mentioned in the mod_perl Guide? http://perl.apache.org/guide I dug thru the guide and I found no mention at all of anything similar to this.

Re: Weird mod_perl CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood
Hi again, On Thu, 7 Feb 2002, Mike McLagan wrote: On Fri, 8 Feb 2002 01:18:19 + (GMT), Ged Haywood wrote: On Thu, 7 Feb 2002, Mike McLagan wrote: Isn't this mentioned in the mod_perl Guide? http://perl.apache.org/guide I dug thru the guide and I found no mention at all