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]
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-12442-1456976919-1496.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 629
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.