perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilde, Donald" <dwi...@sandia.gov>
Subject RE: [! !] and [- -], maximums for $row and $col
Date Wed, 14 Dec 2005 17:23:10 GMT
 
Hi, Derrick -

I have modified my code such that the subroutines are in [- -] and the
module loads are in [! !], and that works very well. What you suggest
about the apache children does make sense and would explain the earlier
behavior. Tnx for your thoughts!

--
Don Wilde    Org 01737    505-844-1126
A man who carries a cat by the tail learns something he can learn in no
other way. - Mark Twain 



-----Original Message-----
From: Derrick Spell [mailto:derrickspell@cdmplus.com] 
Sent: Wednesday, December 14, 2005 8:11 AM
To: Wilde, Donald
Subject: Re: [! !] and [- -], maximums for $row and $col

I experienced some weird behavior with [! !] before.  Here is my
theory: The [! !] blocks are executed once per apache child, which means
that if you change the files/routines then you need to restart  
the server to force all the children to re-read the files/routines.   
I was developing a page once and if you hit refresh multiple times you
could get completely different content depending on which apache child
served the request.  See if issuing a graceful restart solves the
problem.

Then again, I could be way off base here....

-Derrick

On Dec 14, 2005, at 9:40 AM, Wilde, Donald wrote:

> I was using [! !] to load my modules, and I added my subroutines in 
> there as well. However, I've discovered that that does not work. My 
> subroutines (particularly sorts) sometimes work and sometimes don't, 
> producing very strange behavior. There are no errors, but sometimes my

> $row-created <SELECT>s go back to sorting alphabetically.
>
> On another note, $row and $col have (in 1.3.6) very limited maximum 
> values. Is that modifiable behavior?
> --
> Don Wilde    Org 01737    505-844-1126
> Someday we'll look back on this moment and plow into a parked car. - 
> Evan Davis
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message