… | |
… | |
62 | # load modules we will use later anyways |
62 | # load modules we will use later anyways |
63 | use common::sense; |
63 | use common::sense; |
64 | |
64 | |
65 | use Carp (); |
65 | use Carp (); |
66 | |
66 | |
67 | our $VERSION = '1.0'; |
67 | our $VERSION = '1.01' |
68 | |
68 | |
69 | our $PID; # child pid |
69 | our $PID; # child pid |
70 | our $ENABLED = 0; # also version |
70 | our $ENABLED = 0; # also version |
71 | our $AUTORESTART; # actually exit |
71 | our $AUTORESTART; # actually exit |
72 | our ($P, $C); |
72 | our ($P, $C); |
… | |
… | |
254 | our $end; |
254 | our $end; |
255 | END { $end && &$end } |
255 | END { $end && &$end } |
256 | |
256 | |
257 | =head1 SEE ALSO |
257 | =head1 SEE ALSO |
258 | |
258 | |
259 | L<AnyEvent::Watchdg::Util>, L<AnyEvent>. |
259 | L<AnyEvent::Watchdog::Util>, L<AnyEvent>. |
260 | |
260 | |
261 | =head1 AUTHOR |
261 | =head1 AUTHOR |
262 | |
262 | |
263 | Marc Lehmann <schmorp@schmorp.de> |
263 | Marc Lehmann <schmorp@schmorp.de> |
264 | http://home.schmorp.de/ |
264 | http://home.schmorp.de/ |