--- cvsroot/AnyEvent-MP/MP.pm 2009/09/22 14:14:29 1.93 +++ cvsroot/AnyEvent-MP/MP.pm 2009/09/22 14:14:43 1.94 @@ -567,8 +567,7 @@ $node->monitor ($port, $cb); defined wantarray - and $cb += 0 - and AnyEvent::Util::guard { $node->unmonitor ($port, $cb) } + and ($cb += 0, AnyEvent::Util::guard { $node->unmonitor ($port, $cb) }) } =item $guard = mon_guard $port, $ref, $ref...