Re: request length global variable

2010-04-23 Thread André Warnier
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

Re: request length global variable

2010-04-23 Thread Douglas Sims
#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..

request length global variable

2010-04-23 Thread Tosh Cooey
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...

Re: Server Level Global Variable

2010-04-13 Thread Perrin Harkins
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

Re: Server Level Global Variable

2010-04-13 Thread Michael Ludwig
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 ? >

Server Level Global Variable

2010-04-13 Thread Shibi NS
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

RE: global variable

2010-02-05 Thread Morten Bjørnsvik
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

Re: global variable

2010-02-04 Thread craig
...@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...

RE: global variable

2010-02-04 Thread Morten Bjørnsvik
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

Re: global variable

2010-02-03 Thread David Nicol
DirDB provides a very simple persistence, sharable data structure, using the file system.

Re: global variable

2010-02-03 Thread craig
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.

Re: global variable

2010-02-03 Thread Boysenberry Payne
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

Re: global variable

2010-02-03 Thread mackenna
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

Re: global variable

2010-02-03 Thread Perrin Harkins
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

Re: global variable

2010-02-03 Thread Torsten Förtsch
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

Re: global variable

2010-02-03 Thread Fayland Lam
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/

Re: global variable

2010-02-03 Thread moli
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

Re: global variable

2010-02-03 Thread moli
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

Re: global variable

2010-02-02 Thread André Warnier
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

global variable

2010-02-02 Thread moli
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.