… | |
… | |
50 | =cut |
50 | =cut |
51 | |
51 | |
52 | package AE; |
52 | package AE; |
53 | |
53 | |
54 | use AnyEvent (); # BEGIN { AnyEvent::common_sense } |
54 | use AnyEvent (); # BEGIN { AnyEvent::common_sense } |
|
|
55 | |
|
|
56 | our $VERSION = $AnyEvent::VERSION; |
55 | |
57 | |
56 | =item $w = AE::io $fh_or_fd, $watch_write, $cb |
58 | =item $w = AE::io $fh_or_fd, $watch_write, $cb |
57 | |
59 | |
58 | Creates an I/O watcher that listens for read events (C<$watch_write> |
60 | Creates an I/O watcher that listens for read events (C<$watch_write> |
59 | false) or write events (C<$watch_write> is true) on the file handle or |
61 | false) or write events (C<$watch_write> is true) on the file handle or |