This queue is for tickets about the IO-AIO CPAN distribution.

Report information
The Basics
Id:
112654
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
jim.avera [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Fixes for aio_group documentation [patch]
The example code in the pod for aio_group has a couple of errors which can be a bit confusing for people just learning the api. Here's a patch: --- AIO.pm 2016-03-03 03:29:14.504782927 +0000 +++ AIO.pm.NEW 2016-03-03 03:31:45.953037255 +0000 @@ -1632,10 +1632,10 @@ $grp->add (aio_unlink "..."); add $grp aio_stat "...", sub { - $_[0] or return $grp->result ("error"); + $_[0]==0 or return $grp->result ("error"); # add another request dynamically, if first succeeded - add $grp aio_open "...", sub { + add $grp aio_open ..., sub { $grp->result ("ok"); }; };


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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