--- AnyEvent/t/64_glib_05_dns.t 2009/07/18 00:05:29 1.2 +++ AnyEvent/t/64_glib_05_dns.t 2011/07/04 21:14:28 1.5 @@ -1,7 +1,9 @@ # we avoid complicated tests here because some systems will # not have working DNS -BEGIN { eval q{use AnyEvent::Impl::Glib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Glib not found}), exit 0) } +use AnyEvent; +BEGIN { eval q{use AnyEvent::Impl::Glib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Glib not loadable +}), exit 0) } use AnyEvent::DNS; $| = 1; print "1..5\n";