--- cvsroot/EV/EV.pm 2007/12/08 14:31:45 1.66 +++ cvsroot/EV/EV.pm 2007/12/20 07:12:57 1.72 @@ -70,7 +70,7 @@ use strict; BEGIN { - our $VERSION = '1.72'; + our $VERSION = '2.0'; use XSLoader; XSLoader::load "EV", $VERSION; } @@ -88,6 +88,8 @@ @EV::Fork::ISA = "EV::Watcher"; +@EV::Loop::Default::ISA = "EV::Loop"; + =head1 BASIC INTERFACE =over 4 @@ -95,7 +97,7 @@ =item $EV::DIED Must contain a reference to a function that is called when a callback -throws an exception (with $@ containing thr error). The default prints an +throws an exception (with $@ containing the error). The default prints an informative message and continues. If this callback throws an exception it will be silently ignored. @@ -496,6 +498,10 @@ Simply stops and starts the watcher again. +=item $time = $w->at + +Return the time that the watcher is expected to trigger next. + =back @@ -840,7 +846,7 @@ }; default_loop - or die 'EV: cannot initialise libev backend. bad $ENV{LIBEV_METHODS}?'; + or die 'EV: cannot initialise libev backend. bad $ENV{LIBEV_FLAGS}?'; 1;