Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Share perl variables between apache process
 

Index | Next | Previous | View Flat


rafspiny at gmail

Sep 23, 2008, 12:11 PM


Views: 559
Permalink
Share perl variables between apache process

Hello, i'm studying mod_perl and was wondering if it could be possible to
share data among child process.
I'll explain me better.
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?
So everytime i update some attributes of $Bird::Global::object it change
only in some process.
I was asking if there is a way that i could get a really shared variable
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.

Subject User Time
Share perl variables between apache process rafspiny at gmail Sep 23, 2008, 12:11 PM
    Re: Share perl variables between apache process ryan at livesite Sep 23, 2008, 1:06 PM
    Re: Share perl variables between apache process mpeters at plusthree Sep 23, 2008, 1:15 PM
    Re: Share perl variables between apache process rafspiny at gmail Sep 24, 2008, 12:08 AM
        Re: Share perl variables between apache process perrin at elem Sep 24, 2008, 12:17 PM
    Re: Share perl variables between apache process jonathan at 2xlp Sep 24, 2008, 2:32 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.