… | |
… | |
2178 | For example, to force the pure perl model (L<AnyEvent::Loop::Perl>) you |
2178 | For example, to force the pure perl model (L<AnyEvent::Loop::Perl>) you |
2179 | could start your program like this: |
2179 | could start your program like this: |
2180 | |
2180 | |
2181 | PERL_ANYEVENT_MODEL=Perl perl ... |
2181 | PERL_ANYEVENT_MODEL=Perl perl ... |
2182 | |
2182 | |
|
|
2183 | =item C<PERL_ANYEVENT_IO_MODEL> |
|
|
2184 | |
|
|
2185 | The current file I/O model - see L<AnyEvent::IO> for more info. |
|
|
2186 | |
|
|
2187 | At the moment, only C<Perl> (small, pure-perl, synchronous) and |
|
|
2188 | C<IOAIO> (truly asynchronous) are supported. The default is C<IOAIO> if |
|
|
2189 | L<AnyEvent::AIO> can be loaded, otherwise it is C<Perl>. |
|
|
2190 | |
2183 | =item C<PERL_ANYEVENT_PROTOCOLS> |
2191 | =item C<PERL_ANYEVENT_PROTOCOLS> |
2184 | |
2192 | |
2185 | Used by both L<AnyEvent::DNS> and L<AnyEvent::Socket> to determine preferences |
2193 | Used by both L<AnyEvent::DNS> and L<AnyEvent::Socket> to determine preferences |
2186 | for IPv4 or IPv6. The default is unspecified (and might change, or be the result |
2194 | for IPv4 or IPv6. The default is unspecified (and might change, or be the result |
2187 | of auto probing). |
2195 | of auto probing). |