Re: global variable

[email protected]
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Just thought to add:

One of the most interesting uses of IPC::MMA is to create a shared
memory in a PerlPostConfigHandler, and then use it to tie scalars or
arrays or hashes in other modules into the shared memory.

In write-seldom, read-mostly applications like the cache hash in
Image::Size, this can be done without any change to the other module.

cmac

On Feb 3, 2010, at 9:20 AM, Boysenberry Payne wrote:

> Looks like a great module.
> It says early on in the docs that it doesn't use references; does  
> that mean we need to dereference in order to store that values?
>
> Thanks,
> Boysenberry Payne
>
> On Feb 3, 2010, at 10:17 AM, [email protected] wrote:
>
>> 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, [email protected] 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.
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.