--- AnyEvent/t/68_poe_05_dns.t 2009/04/23 22:44:30 1.2 +++ AnyEvent/t/68_poe_05_dns.t 2010/12/29 04:23:06 1.6 @@ -1,13 +1,12 @@ -$|=1; -$^W=0; -BEGIN { print "1..5\n" } - # we avoid complicated tests here because some systems will # not have working DNS -use AnyEvent::Impl::POE; +use AnyEvent; +BEGIN { eval q{use AnyEvent::Impl::POE;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::POE not loadable}), exit 0) } $^W = 0; use AnyEvent::DNS; +$| = 1; print "1..5\n"; + print "ok 1\n"; AnyEvent::DNS::resolver;