IO::AIO::Util - useful functions missing from IO::AIO


IO-AIO-Util documentation  | view source Contained in the IO-AIO-Util distribution.

Index


NAME

Top

IO::AIO::Util - useful functions missing from IO::AIO

SYNOPSIS

Top

    aio_mkpath "/tmp/dir1/dir2", 0755, sub {
        $_[0] and die "/tmp/dir1/dir2": $!";
    };

DESCRIPTION

Top

This module provides useful functions that are missing from IO::AIO::Util.

FUNCTIONS

Top

aio_mkpath $pathname, $mode, $callback->($status)
aio_mktree $pathname, $mode, $callback->($status)

This is a composite request that creates the directory and any intermediate directories as required. The status is the same as aio_mkdir.

NOTES

Top

As this module uses IO::AIO, it is subject to the same underlying restrictions. Most importantly, that the pathname parameter be encoded as bytes and be absolute, or ensure that the working does not change.

See the documentation for IO::AIO for more details.

SEE ALSO

Top

IO::AIO

REQUESTS AND BUGS

Top

Please report any bugs or feature requests to http://rt.cpan.org/Public/Bug/Report.html?Queue=IO-AIO-Util. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc IO::AIO::Util

You can also look for information at:

* GitHub Source Repository

http://github.com/gray/io-aio-util

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/IO-AIO-Util

* CPAN Ratings

http://cpanratings.perl.org/d/IO-AIO-Util

* RT: CPAN's request tracker

http://rt.cpan.org/Public/Dist/Display.html?Dist=IO-AIO-Util

* Search CPAN

http://search.cpan.org/dist/IO-AIO-Util

COPYRIGHT AND LICENSE

Top

AUTHOR

Top

gray, <gray at cpan.org>


IO-AIO-Util documentation  | view source Contained in the IO-AIO-Util distribution.