Subject: | Broken with 5.10 |
The following patch seems to be necessary to be able to use IPC::Shareable
with 5.10. It at least suffices to let the test suite pass.
diff -ur IPC-Shareable-0.60-qawC8O/lib/IPC/Shareable.pm
IPC-Shareable-0.60-nbXedO/lib/IPC/Shareable.pm
--- IPC-Shareable-0.60-qawC8O/lib/IPC/Shareable.pm 2001-03-05
21:31:08.000000000 +0100
+++ IPC-Shareable-0.60-nbXedO/lib/IPC/Shareable.pm 2008-12-03
13:01:57.000000000 +0100
@@ -452,7 +452,7 @@
my $n = shift;
$self->{_data} = _thaw($self->{_shm}) unless $self->{_lock};
- $#{@{$self->{_data}}} = $n - 1;
+ $#{$self->{_data}} = $n - 1;
if ($self->{_lock} & LOCK_EX) {
$self->{_was_changed} = 1;
} else {