Skip Menu |

This queue is for tickets about the Beanstalk-Client CPAN distribution.

Report information
The Basics
Id: 41002
Status: resolved
Priority: 0/
Queue: Beanstalk-Client

People
Owner: Nobody in particular
Requestors: rhesa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0000
Fixed in: (no value)



Subject: backwards logic glitch in reserve() for "reserve-with-timeout" and "reserve"
Hi, Line 310 in Client.pm has the logic reversed: my $cmd = defined($timeout) ? "reserve" : "reserve-with-timeout $timeout"; If reserve() is called without a timeout, this generates an "unitialized value" warning because it calls "reserve-with-timeout". If called /with/ a timeout, that timeout is ignored. Thanks! Rhesa
This is resolved in 1.02 on CPAN