Devi .M wrote:
Hello All,
I have a perl script that would be running infinitely and updating
an array by processing some data. Now I would like to read the array
values that should not disturb this perl script.
I thought to use the concept of shared variable and write a method
in perl module which contains the array sharring with the infinitely
running perl script and return me the updated array values. But don't know how to proceed with this. Could anyone help me out?

Perhaps this "IPC::Shareable - share Perl variables between processes" package would be suitable:

http://search.cpan.org/author/BSUGARS/IPC-Shareable-0.60/lib/IPC/Shareable.pm

Mark



Reply via email to