--- AnyEvent/t/01_basic.t 2008/04/24 02:23:55 1.4 +++ AnyEvent/t/01_basic.t 2010/12/29 04:16:33 1.6 @@ -1,8 +1,7 @@ -$|=1; -BEGIN { print "1..6\n" } - use AnyEvent; -use AnyEvent::Impl::Perl; +BEGIN { require AnyEvent::Impl::Perl unless $ENV{PERL_ANYEVENT_MODEL} } + +$| = 1; print "1..6\n"; print "ok 1\n";