Skip Menu |

This queue is for tickets about the Thread-Queue-Any CPAN distribution.

Report information
The Basics
Id: 74560
Status: resolved
Priority: 0/
Queue: Thread-Queue-Any

People
Owner: ELIZABETH [...] cpan.org
Requestors: IKEGAMI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Please consider changing @{Storable::thaw( ... )} to my $ar = Storable::thaw( ... ); @$ar == 1 ? $ar->[0] : @$ar so that while (my $response = $q->dequeue) works in addition to while (my ($response) = $q->dequeue) in the common case that only argument is passed to `enqueue`.
Supported in release 1.03, on its way to CPAN now