… | |
… | |
4 | |
4 | |
5 | =encoding utf-8 |
5 | =encoding utf-8 |
6 | |
6 | |
7 | =head1 SYNOPSIS |
7 | =head1 SYNOPSIS |
8 | |
8 | |
9 | use AnyEvent; |
9 | use AnyEvent; |
10 | use POE; |
10 | use POE; |
11 | |
11 | |
12 | # this module gets loaded automatically as required |
12 | # this module gets loaded automatically as required |
13 | |
13 | |
14 | =head1 DESCRIPTION |
14 | =head1 DESCRIPTION |
15 | |
15 | |
16 | This module provides transparent support for AnyEvent. You don't have to |
16 | This module provides transparent support for AnyEvent. You don't have to |
17 | do anything to make POE work with AnyEvent except by loading POE before |
17 | do anything to make POE work with AnyEvent except by loading POE before |
… | |
… | |
220 | (timeouts), sometimes it is "parameter, eventname" (signals). There is |
220 | (timeouts), sometimes it is "parameter, eventname" (signals). There is |
221 | little consistency overall. |
221 | little consistency overall. |
222 | |
222 | |
223 | =item Lack of knowledge |
223 | =item Lack of knowledge |
224 | |
224 | |
225 | The IO::Poll event loop provides an alternative that theoretically |
225 | The IO::Poll event loop provides an alternative that theoretically |
226 | scales better than select(). |
226 | scales better than select(). |
227 | |
227 | |
228 | The IO::Poll "event loop" (who in his right mind would call that an event |
228 | The IO::Poll "event loop" (who in his right mind would call that an event |
229 | loop) of course scales about identically (sometimes it is a bit faster, |
229 | loop) of course scales about identically (sometimes it is a bit faster, |
230 | sometimes a bit slower) to select in theory, and also in practise, of |
230 | sometimes a bit slower) to select in theory, and also in practise, of |
231 | course, as both are O(n) in the number of file descriptors, which is |
231 | course, as both are O(n) in the number of file descriptors, which is |