Re: More stuff not working with conversion to modperl?

2001-08-01 Thread John Buwa
This seemed to hit it on the head, i really dont understand WHY this makes a difference in modperl and not nonmoperl services? I changed the count variable $i = 1 to my $i = 1 and the $msgnum to my $msgnum and it is working like the non modperl server does. Correctly. Isnt there a way to clear

RE: More stuff not working with conversion to modperl?

2001-08-01 Thread Geoffrey Young
-Original Message- From: John Buwa [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 5:03 AM To: [EMAIL PROTECTED] Subject: Re: More stuff not working with conversion to modperl? This seemed to hit it on the head, i really dont understand WHY this makes a

Re: More stuff not working with conversion to modperl?

2001-08-01 Thread Perrin Harkins
John Buwa wrote: Isnt there a way to clear global variable to a null after a web transaction is complete? Apache::PerlRun does that. - Perrin

More stuff not working with conversion to modperl?

2001-07-31 Thread John Buwa
Hello, I am trying to finish up my scripts conversion to mod perl and here is a routine i truely do not undestand why it is not working. This is the same code that is running on both the modperl i am useing to port scripts and test and the live non-modperl apache, which works fine: This is

Re: More stuff not working with conversion to modperl?

2001-07-31 Thread Ken Williams
Hi John, [EMAIL PROTECTED] (John Buwa) wrote: I am trying to finish up my scripts conversion to mod perl and here is a routine i truely do not undestand why it is not working. You really have to turn on 'use strict'. It looks like both $i and $line are undeclared variables. Also, why do you

Re: More stuff not working with conversion to modperl?

2001-07-31 Thread ryc
You might want to try declaring the file handles as LOCAL *myfile or whatever. You have to be very careful about making global variables with modperl since they have the benfit of sticking around after the web transaction is complete. ryan - Original Message - From: John Buwa [EMAIL