On Wed, Jun 4, 2008 at 4:15 AM, Steve Bielen <[EMAIL PROTECTED]> wrote:
> is there a way to restart the script when it encounters an error ? > Forking a child in the script, child will do the actual work, parent do nothing but monitor child's status. When child meet an IOError, it could die, and parent will get a SIGCHLD signal, then parent could re-fork a new child to be continued. -- Jeff Peng - [EMAIL PROTECTED] Professional Squid supports in China http://www.ChinaSquid.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/