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 finding a replacement module for
IPC::Shareable. You can try replacing it with
http://search.cpan.org/~mhx/IPC-SysV-2.03/lib/IPC/SharedMem.pm which
is still being maintained.
--
Mike

On Fri, Jan 7, 2011 at 1:33 PM, crash82 <netri...@gmail.com> wrote:
> 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/
>
>
>

--
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