--- AnyEvent/lib/AnyEvent.pm 2007/11/23 10:42:00 1.37 +++ AnyEvent/lib/AnyEvent.pm 2007/11/25 14:08:12 1.38 @@ -254,7 +254,7 @@ use Carp; -our $VERSION = '2.7'; +our $VERSION = '2.8'; our $MODEL; our $AUTOLOAD; @@ -380,7 +380,7 @@ our $WNOHANG; sub _child_wait { - while (0 <= (my $pid = waitpid -1, $WNOHANG)) { + while (0 < (my $pid = waitpid -1, $WNOHANG)) { $_->($pid, $?) for (values %{ $PID_CB{$pid} || {} }), (values %{ $PID_CB{0} || {} }); }