ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.pm
(Generate patch)

Comparing EV/EV.pm (file contents):
Revision 1.66 by root, Sat Dec 8 14:31:45 2007 UTC vs.
Revision 1.71 by root, Mon Dec 17 07:24:12 2007 UTC

68package EV; 68package EV;
69 69
70use strict; 70use strict;
71 71
72BEGIN { 72BEGIN {
73 our $VERSION = '1.72'; 73 our $VERSION = '1.86';
74 use XSLoader; 74 use XSLoader;
75 XSLoader::load "EV", $VERSION; 75 XSLoader::load "EV", $VERSION;
76} 76}
77 77
78@EV::IO::ISA = 78@EV::IO::ISA =
93=over 4 93=over 4
94 94
95=item $EV::DIED 95=item $EV::DIED
96 96
97Must contain a reference to a function that is called when a callback 97Must contain a reference to a function that is called when a callback
98throws an exception (with $@ containing thr error). The default prints an 98throws an exception (with $@ containing the error). The default prints an
99informative message and continues. 99informative message and continues.
100 100
101If this callback throws an exception it will be silently ignored. 101If this callback throws an exception it will be silently ignored.
102 102
103=item $time = EV::time 103=item $time = EV::time
494 494
495=item $w->again 495=item $w->again
496 496
497Simply stops and starts the watcher again. 497Simply stops and starts the watcher again.
498 498
499=item $time = $w->at
500
501Return the time that the watcher is expected to trigger next.
502
499=back 503=back
500 504
501 505
502=head3 SIGNAL WATCHERS - signal me when a signal gets signalled! 506=head3 SIGNAL WATCHERS - signal me when a signal gets signalled!
503 507
838our $DIED = sub { 842our $DIED = sub {
839 warn "EV: error in callback (ignoring): $@"; 843 warn "EV: error in callback (ignoring): $@";
840}; 844};
841 845
842default_loop 846default_loop
843 or die 'EV: cannot initialise libev backend. bad $ENV{LIBEV_METHODS}?'; 847 or die 'EV: cannot initialise libev backend. bad $ENV{LIBEV_FLAGS}?';
844 848
8451; 8491;
846 850
847=head1 SEE ALSO 851=head1 SEE ALSO
848 852

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines