gray > IO-AIO-Util-0.09 > IO::AIO::Util

Download:
IO-AIO-Util-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.09   Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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

FUNCTIONS ^

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 ^

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 ^

IO::AIO

REQUESTS AND BUGS ^

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 ^

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

    perldoc IO::AIO::Util

You can also look for information at:

COPYRIGHT AND LICENSE ^

Copyright (C) 2007-2009 gray <gray at cpan.org>, all rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

gray, <gray at cpan.org>

syntax highlighting: