1 | $|=1; | ||
---|---|---|---|
2 | $^W=0; | ||
3 | BEGIN { print "1..5\n" } | ||
4 | |||
5 | # we avoid complicated tests here because some systems will | 1 | # we avoid complicated tests here because some systems will |
6 | # not have working DNS | 2 | # not have working DNS |
7 | 3 | ||
8 | use AnyEvent::Impl::POE; | 4 | BEGIN { eval q{use AnyEvent::Impl::POE;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::POE not found}), exit 0) } $^W = 0; |
9 | use AnyEvent::DNS; | 5 | use AnyEvent::DNS; |
6 | |||
7 | $| = 1; print "1..5\n"; | ||
10 | 8 | ||
11 | print "ok 1\n"; | 9 | print "ok 1\n"; |
12 | 10 | ||
13 | AnyEvent::DNS::resolver; | 11 | AnyEvent::DNS::resolver; |
14 | 12 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |