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::Event; |
4 | use AnyEvent; |
|
|
5 | BEGIN { eval q{use AnyEvent::Impl::Event;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Event not loadable}), exit 0) } |
8 | use AnyEvent::DNS; |
6 | use AnyEvent::DNS; |
|
|
7 | |
|
|
8 | $| = 1; print "1..5\n"; |
9 | |
9 | |
10 | print "ok 1\n"; |
10 | print "ok 1\n"; |
11 | |
11 | |
12 | AnyEvent::DNS::resolver; |
12 | AnyEvent::DNS::resolver; |
13 | |
13 | |