--- IO-AIO/AIO.pm 2007/01/07 21:32:20 1.99 +++ IO-AIO/AIO.pm 2007/01/07 21:36:58 1.100 @@ -636,7 +636,7 @@ =cut -sub aio_scandir($$$) { +sub aio_scandir($$;$) { aio_block { my ($path, $maxreq, $cb) = @_; @@ -726,14 +726,15 @@ =item aio_rmtree $path, $callback->($status) -Delete a directory tree starting (and including) C<$path>, return the status of the final C only. -This is a composite request that uses C to recurse into and rmdir directories, and -unlink everything else. +Delete a directory tree starting (and including) C<$path>, return the +status of the final C only. This is a composite request that +uses C to recurse into and rmdir directories, and unlink +everything else. =cut sub aio_rmtree; -sub aio_rmtree { +sub aio_rmtree($;$) { aio_block { my ($path, $cb) = @_;