Use EV instead of AnyEvent::Loop, since the latter appears to be buggy.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 6 Aug 2014 21:42:04 +0000 (23:42 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 6 Aug 2014 21:42:04 +0000 (23:42 +0200)
remoteglot.pl

index 3cf3a65..a12797c 100755 (executable)
@@ -11,7 +11,7 @@
 
 use AnyEvent;
 use AnyEvent::Handle;
-use AnyEvent::Loop;
+use EV;
 use Net::Telnet;
 use FileHandle;
 use IPC::Open2;
@@ -112,7 +112,7 @@ my $ev1 = AnyEvent->io(
        }
 );
 # Engine events have already been set up by Engine.pm.
-AnyEvent::Loop::run;
+EV::run;
 
 sub handle_uci {
        my ($engine, $line, $primary) = @_;