1 | $|=1; |
|
|
2 | BEGIN { print "1..5\n" } |
|
|
3 | |
|
|
4 | # we avoid complicated tests here because some systems will |
1 | # we avoid complicated tests here because some systems will |
5 | # not have working DNS |
2 | # not have working DNS |
6 | |
3 | |
7 | use AnyEvent::Impl::IOAsync; |
4 | BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not found}), exit 0) } use IO::Async::Loop; AnyEvent::Impl::IOAsync::set_loop new IO::Async::Loop; |
8 | use IO::Async::Loop; AnyEvent::Impl::IOAsync::set_loop new IO::Async::Loop; |
5 | use AnyEvent::DNS; |
9 | |
6 | |
10 | use AnyEvent::DNS; |
7 | $| = 1; print "1..5\n"; |
11 | |
8 | |
12 | print "ok 1\n"; |
9 | print "ok 1\n"; |
13 | |
10 | |
14 | AnyEvent::DNS::resolver; |
11 | AnyEvent::DNS::resolver; |
15 | |
12 | |