--- AnyEvent/t/05_dns.t 2009/07/18 00:05:29 1.4 +++ AnyEvent/t/05_dns.t 2010/12/29 04:16:34 1.5 @@ -1,7 +1,8 @@ # we avoid complicated tests here because some systems will # not have working DNS -use AnyEvent::Impl::Perl; +use AnyEvent; +BEGIN { require AnyEvent::Impl::Perl unless $ENV{PERL_ANYEVENT_MODEL} } use AnyEvent::DNS; $| = 1; print "1..5\n";