Tosh Cooey wrote:
I'm drawing a blank here and I probably shouldn't be, but...
I would like to use a global variable that's only available for the
duration of a request.
I guess I could create() and undef() the variable at the start and end
of each request but that seems
#x27;m drawing a blank here and I probably shouldn't be, but...
>
> I would like to use a global variable that's only available for the
> duration of a request.
>
> I guess I could create() and undef() the variable at the start and end of
> each request but that seems so..
I'm drawing a blank here and I probably shouldn't be, but...
I would like to use a global variable that's only available for the
duration of a request.
I guess I could create() and undef() the variable at the start and end
of each request but that seems so... inelegant...
On Tue, Apr 13, 2010 at 2:23 PM, Shibi NS wrote:
> I have requirement to maintain variables at server level say a
> counter(something like server restart count) variable and time date, so if
> particular event(say die on request handler) this counter increments by one
> and time date variable upda
Shibi NS schrieb am 13.04.2010 um 23:53:18 (+0530):
[Server Level Global Variable]
> I have requirement to maintain variables at server level say
> a counter(something like server restart count) variable and
> time date
So you're aware of Apache2::ServerUtil#restart_count ?
>
I have requirement to maintain variables at server level say a
counter(something like server restart count) variable and time date, so if
particular event(say die on request handler) this counter increments by one
and time date variable updated to current system date and time. Is there is
any way
m: cr...@animalhead.com [mailto:cr...@animalhead.com]
Sent: 4. februar 2010 19:06
To: Morten Bjørnsvik
Cc: modperl@perl.apache.org list
Subject: Re: global variable
Hi,
IPC::MMA and its underlying MM library are written entirely in C.
I originally got into this business when I read some user reviews
that
...@normalperson.e4ward.com
Cc: modperl@perl.apache.org
Subject: Re: global variable
I rewrote IPC::MMA from an earlier CPAN module so that I could
use shared memory among Apache children. You can read about it at
http://search.cpan.org/~mackenna/IPC-MMA-0.6/MMA.pod
On Feb 2, 2010, at 9:45 PM, m...
Analytics, Oslo, Norway.
-Original Message-
From: macke...@animalhead.com [mailto:macke...@animalhead.com]
Sent: 3. februar 2010 18:18
To: m...@normalperson.e4ward.com
Cc: modperl@perl.apache.org
Subject: Re: global variable
I rewrote IPC::MMA from an earlier CPAN module so that I could
use
DirDB provides a very simple persistence, sharable data structure,
using the file system.
PM, m...@normalperson.e4ward.com wrote:
Hello,
Is there a method to setup a global variable for all modperl
child processes?
Also this variable will be updated sometime, when it get updated,
all
processes will know it.
Thanks.
odule so that I could
> use shared memory among Apache children. You can read about it at
> http://search.cpan.org/~mackenna/IPC-MMA-0.6/MMA.pod
>
> On Feb 2, 2010, at 9:45 PM, m...@normalperson.e4ward.com wrote:
>
>> Hello,
>>
>> Is there a method to setu
I rewrote IPC::MMA from an earlier CPAN module so that I could
use shared memory among Apache children. You can read about it at
http://search.cpan.org/~mackenna/IPC-MMA-0.6/MMA.pod
On Feb 2, 2010, at 9:45 PM, m...@normalperson.e4ward.com wrote:
Hello,
Is there a method to setup a global
On Wed, Feb 3, 2010 at 2:20 AM, André Warnier wrote:
> m...@normalperson.e4ward.com wrote:
>>
>> Hello,
>>
>> Is there a method to setup a global variable for all modperl child
>> processes?
>> Also this variable will be updated sometime, when it get
On Wednesday 03 February 2010 06:45:06 m...@normalperson.e4ward.com wrote:
> Is there a method to setup a global variable for all modperl child
> processes? Also this variable will be updated sometime, when it get
> updated, all processes will know it.
>
File::Map mmap()s a file
to do, someone may be able to suggest an alternative.
Something linke java servlet's global variable.
sorry for the typo, something like ...
--
Fayland Lam // http://www.fayland.org/
On Wed, Feb 3, 2010 at 4:18 PM, wrote:
> On Wed, Feb 3, 2010 at 3:20 PM, André Warnier wrote:
>
>> But if you give some more details about the platform, the Apache, and what
>> you are trying to do, someone may be able to suggest an alternative.
>>
>>
>
> S
On Wed, Feb 3, 2010 at 3:20 PM, André Warnier wrote:
> But if you give some more details about the platform, the Apache, and what
> you are trying to do, someone may be able to suggest an alternative.
>
>
Something linke java servlet's global variable.
Maybe set it via env
m...@normalperson.e4ward.com wrote:
Hello,
Is there a method to setup a global variable for all modperl child processes?
Also this variable will be updated sometime, when it get updated, all
processes will know it.
As a general answer, no.
That is because each child has its own separate perl
Hello,
Is there a method to setup a global variable for all modperl child processes?
Also this variable will be updated sometime, when it get updated, all
processes will know it.
Thanks.
20 matches
Mail list logo