![]() |
![]()
| ![]() |
![]()
NAMEDaemon::Generic::While1 - Daemon framework with default while(1) loop SYNOPSIS@ISA = qw(Daemon::Generic::While1); sub gd_run_body { # stuff } DESCRIPTIONThis is a slight variation on Daemon::Generic: a default gd_run() provided. It has a while(1) loop that calls gd_run_body() over and over. It checks for reconifg and and terminate events and only actions them between calls to gd_run_body(). Terminate events will be forced through after $Daemon::Generic::force_quit_delay seconds if gd_run_body() doesn't return quickly enough. SUBCLASS METHODS REQUIRDThe following method is required to be overridden to subclass Daemon::Generic::While1:
ADDITIONAL METHODSThe following additional methods are available for your use (as compared to Daemon::Generic):
ADDITIONAL MEMBER DATAThe following additional bits of member data are defined: LICENSECopyright (C) 2006-2010 David Muir Sharnoff <muir@idiom.com>. Copyright (C) 2011 Google, Inc. This module may be used and distributed on the same terms as Perl itself.
|