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