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 and can't understand the problem.

Use of uninitialized value $ice in substr at /usr/local/share/perl/
5.10.1/IPC/Shareable.pm line 542.#012

Any tips ?

Best regards,
FR


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to