--- EV/EV.pm 2020/01/22 23:17:31 1.162 +++ EV/EV.pm 2020/01/23 12:49:13 1.163 @@ -648,7 +648,9 @@ Calculates and returns the remaining time till the timer will fire. -=item $old_repeat = $w->reapat ([$new_repeat]) +=item $repeat = $w->repeat + +=item $old_repeat = $w->repeat ($new_repeat) Returns the current value of the repeat attribute and optionally sets a new one. Setting the new one will not restart the watcher - if the watcher @@ -756,17 +758,23 @@ Return the time that the watcher is expected to trigger next. -=item $old_offset = $w->offset ([$new_offset]) +=item $offset = $w->offset + +=item $old_offset = $w->offset ($new_offset) Returns the current value of the offset attribute and optionally sets a new one. Setting the new one will not restart the watcher - if the watcher is active, the new offset value is used whenever it expires next. -=item $old_interval = $w->interval ([$new_interval]) +=item $interval = $w->interval + +=item $old_interval = $w->interval ($new_interval) See above, for the interval attribute. -=item $old_reschedule_cb = $w->reschedule_cb ([$new_reschedule_xcb]) +=item $reschedule_cb = $w->reschedule_cb + +=item $old_reschedule_cb = $w->reschedule_cb ($new_reschedule_cb) See above, for the reschedule callback.