Re: Share perl variables between apache process

2008-09-25 Thread Jonathan Vanasco
On Sep 24, 2008, at 3:17 PM, Perrin Harkins wrote: On Wed, Sep 24, 2008 at 3:08 AM, badman <[EMAIL PROTECTED]> wrote: For Michael, yes i know what it mean to have global variables (semaphores, ...) i was investigating this option because when i do call ...- >new(); it reads a file to initia

Re: Share perl variables between apache process

2008-09-24 Thread Perrin Harkins
On Wed, Sep 24, 2008 at 3:08 AM, badman <[EMAIL PROTECTED]> wrote: > For Michael, yes i know what it mean to have global variables (semaphores, > ...) i was investigating this option because when i do call ...->new(); it > reads a file to initiate its attribute. > I would like to improve the perfor

Re: Share perl variables between apache process

2008-09-24 Thread badman
, i already see IPC::Shareable before using it i was investigating some other option, but i think i'l use it :) -- View this message in context: http://www.nabble.com/Share-perl-variables-between-apache-process-tp19634770p19643172.html Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Share perl variables between apache process

2008-09-23 Thread Michael Peters
badman wrote: i create a variable in startup.pl like in ... http://perl.apache.org/docs/2.0/user/coding/coding.html#Method_Handlers Here use Bird::Eagle; $Bird::Global::object = Bird::Eagle->new(); Now i have many instance of this object as any interpreter are in use, am i right?

Re: Share perl variables between apache process

2008-09-23 Thread Ryan Gies
On Tue, 23 Sep 2008 12:11:03 -0700 (PDT) badman wrote: > I was asking if there is a way that i could get a really shared > variable among all the process, I had no problems using IPC::Sharable with mp2 and it may be what you're looking for. I do not use this in production as the data shared does

Share perl variables between apache process

2008-09-23 Thread badman
among all the process, it could be helpful to investigate threads's module? Thanks -- View this message in context: http://www.nabble.com/Share-perl-variables-between-apache-process-tp19634770p19634770.html Sent from the mod_perl - General mailing list archive at Nabble.com.