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