… | … | ||
---|---|---|---|
7 | 7 | ||
8 | =head1 SYNOPSIS | 8 | =head1 SYNOPSIS |
9 | 9 | ||
10 | use AnyEvent; | 10 | use AnyEvent; |
11 | 11 | ||
12 | # if you prefer function calls, look at the L<AE> manpage for | 12 | # if you prefer function calls, look at the AE manpage for |
13 | # an alternative API. | 13 | # an alternative API. |
14 | 14 | ||
15 | # file handle or descriptor readable | 15 | # file handle or descriptor readable |
16 | my $w = AnyEvent->io (fh => $fh, poll => "r", cb => sub { ... }); | 16 | my $w = AnyEvent->io (fh => $fh, poll => "r", cb => sub { ... }); |
17 | 17 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |