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; | 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; |
5 | use AnyEvent::DNS; | 5 | use AnyEvent::DNS; |
6 | 6 | ||
7 | $| = 1; print "1..5\n"; | 7 | $| = 1; print "1..5\n"; |
8 | 8 | ||
9 | print "ok 1\n"; | 9 | print "ok 1\n"; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |