--- cvsroot/EV/EV.pm 2007/11/02 20:21:33 1.23 +++ cvsroot/EV/EV.pm 2007/11/02 23:22:17 1.26 @@ -62,7 +62,7 @@ use strict; BEGIN { - our $VERSION = '0.1'; + our $VERSION = '0.5'; use XSLoader; XSLoader::load "EV", $VERSION; } @@ -199,8 +199,8 @@ Queries the priority on the watcher and optionally changes it. Pending watchers with higher priority will be invoked first. The valid range of -priorities lies between EV::MAXPRI (default 3) and EV::MINPRI (default --3). If the priority is outside this range it will automatically be +priorities lies between EV::MAXPRI (default 2) and EV::MINPRI (default +-2). If the priority is outside this range it will automatically be normalised to the nearest valid priority. The default priority of any newly-created weatcher is 0. @@ -466,7 +466,8 @@ warn "EV: error in callback (ignoring): $@"; }; -init; +init + or die 'EV: cannot initialise libev backend. bad $ENV{LIBEV_METHODS}?'; push @AnyEvent::REGISTRY, [EV => "EV::AnyEvent"];