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