Skip Menu |

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

Owner: Nobody in particular
Requestors: dean [...]

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 => ''); just needs to be ->new(job_servers => ['']); Its not documented, and dies with Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/share/perl5/Gearman/ 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 infrastructure.

Please report any issues with to