--- AnyEvent/t/65_event_01_basic.t 2008/10/02 08:43:57 1.1 +++ AnyEvent/t/65_event_01_basic.t 2009/07/18 00:05:29 1.2 @@ -1,8 +1,7 @@ -$|=1; -BEGIN { print "1..6\n" } - use AnyEvent; -use AnyEvent::Impl::Event; +BEGIN { eval q{use AnyEvent::Impl::Event;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Event not found}), exit 0) } + +$| = 1; print "1..6\n"; print "ok 1\n";