--- Linux-AIO/README 2005/07/10 17:11:54 1.5 +++ Linux-AIO/README 2005/08/17 16:57:53 1.7 @@ -4,7 +4,12 @@ SYNOPSIS use Linux::AIO; + # This module has been mostly superseded by IO::AIO. + DESCRIPTION + *This module has been mostly superseded by IO::AIO, which is API + compatible.* + This module implements asynchronous I/O using the means available to Linux - clone. It does not hook into the POSIX aio_* functions because Linux does not yet support these in the kernel (even as of 2.6.12, only @@ -112,8 +117,7 @@ aio_open "/etc/passwd", O_RDONLY, 0, sub { if ($_[0] >= 0) { - open my $fh, "<&$_[0]"; # create a copy for perl - aio_close $_[0], sub { }; # close the aio handle + open my $fh, "<&=$_[0]"; print "open successful, fh is $fh\n"; ... } else {