Stas Bekman wrote:
I used IPC::Shareable for sharing 3 arrays between 2 process .
Among those, 2 are 2D arrays and one is 3D array. Its woking fine for 2D
arrays but does not work for 3D array. If I modify the values in the 3D
array its not reflecting in the main script itself.
That sounds
[please keep the posts on the list! thanks]
Devi .M wrote:
Hello,
I used IPC::Shareable for sharing 3 arrays between 2 process .
Among those, 2 are 2D arrays and one is 3D array. Its woking fine for 2D
arrays but does not work for 3D array. If I modify the values in the 3D
array its not
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
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
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
Stas Bekman wrote:
As suggested by Mark, IPC::Shareable might work if the data set is
small. If it's big you can use a simple dbm to store the data in and
with proper locking
read/write to/from it without disturbing each other.
Yes, and the MLDBM::Sync module would handle that for you behind the