… | |
… | |
62 | about in any case because it has much more detailed information. |
62 | about in any case because it has much more detailed information. |
63 | |
63 | |
64 | BASIC INTERFACE |
64 | BASIC INTERFACE |
65 | $EV::DIED |
65 | $EV::DIED |
66 | Must contain a reference to a function that is called when a |
66 | Must contain a reference to a function that is called when a |
67 | callback throws an exception (with $@ containing thr error). The |
67 | callback throws an exception (with $@ containing the error). The |
68 | default prints an informative message and continues. |
68 | default prints an informative message and continues. |
69 | |
69 | |
70 | If this callback throws an exception it will be silently ignored. |
70 | If this callback throws an exception it will be silently ignored. |
71 | |
71 | |
72 | $time = EV::time |
72 | $time = EV::time |
… | |
… | |
409 | be called at any time. |
409 | be called at any time. |
410 | |
410 | |
411 | $w->again |
411 | $w->again |
412 | Simply stops and starts the watcher again. |
412 | Simply stops and starts the watcher again. |
413 | |
413 | |
|
|
414 | $time = $w->at |
|
|
415 | Return the time that the watcher is expected to trigger next. |
|
|
416 | |
414 | SIGNAL WATCHERS - signal me when a signal gets signalled! |
417 | SIGNAL WATCHERS - signal me when a signal gets signalled! |
415 | $w = EV::signal $signal, $callback |
418 | $w = EV::signal $signal, $callback |
416 | $w = EV::signal_ns $signal, $callback |
419 | $w = EV::signal_ns $signal, $callback |
417 | Call the callback when $signal is received (the signal can be |
420 | Call the callback when $signal is received (the signal can be |
418 | specified by number or by name, just as with "kill" or %SIG). |
421 | specified by number or by name, just as with "kill" or %SIG). |