Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Gearman CPAN distribution.

Report information
The Basics
Id: 63110
Status: resolved
Priority: 0/
Queue: Gearman

People
Owner: Nobody in particular
Requestors: dean [...] fragfest.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.11
Fixed in: 1.12.009



Subject: ->new(job_servers => $arg, assumes $arg is an array ref
Download (untitled) / with headers
text/plain 503b
in the new function, it assumes that job_servers is an array ref. this is not a huge drama. ->new(job_servers => '127.0.0.1'); just needs to be ->new(job_servers => ['127.0.0.1']); Its not documented, and dies with Can't use string ("127.0.0.1") as an ARRAY ref while "strict refs" in use at /usr/share/perl5/Gearman/Worker.pm line 119. ideally it would simple normalise the day with something like $args{job_servers} = [$args{job_servers}] unless (ref $args{job_servers}); .. code continues
is solved in v1.12.009


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.