Re: IPC::Shareable issue

2011-01-11 Thread André
Hello, My problem was that I was creating the SM variable and after a bit the app was killing the current process witch destroyed the variable. Sorry (very long script), and thanks for your help. FR On Mon, Jan 10, 2011 at 12:38 PM, Michiel Beijen wrote: > Hi, > > I guess you should not really

Re: IPC::Shareable issue

2011-01-10 Thread Michiel Beijen
Hi, I guess you should not really use IPC::Shareable, it's last release was ages ago. It does not succeed tests on a 5.10.x perl: https://rt.cpan.org/Public/Bug/Display.html?id=41401 - and I guess the patch in this bug report will get it working for you again. I guess it would be worthwile findin

IPC::Shareable issue

2011-01-09 Thread crash82
Hello, I'm trying to lock and unlock a variable in shared memory my $cleanHandler = tie $cleanup_running, 'IPC::Shareable', 'data', { 'destroy' => 1, 'create' => 1 }; $cleanHandler->shlock(); $cleanup_running++; $cleanHandler->shunlock(); Keep getting this error