Re: Possible bug in IPC/Semaphore.pm [PATCH]
John P. Linderman [Wed, 28 Aug 2002 08:04:29 +0000 (04:04 -0400)]
From: "John P. Linderman" <jpl@research.att.com>
Message-Id: <200208271900.PAA98096@raptor.research.att.com>

p4raw-id: //depot/perl@17825

ext/IPC/SysV/Semaphore.pm

index cdbfb77..5816f9c 100644 (file)
@@ -111,7 +111,7 @@ sub set {
     else {
        croak 'Bad arg count' if @_ % 2;
        my %arg = @_;
-       my $ds = $self->stat
+       $ds = $self->stat
                or return undef;
        my($key,$val);
        $ds->$key($val)