[EMAIL PROTECTED] wrote: > I have an application system command that is like tail -f in UNIX and > I want to say > > x=1 > while x < 10 > do > 'command' append to log > print "\n" append to log > issue HANGUP or KILL SIGNAL > x+=1 > done > > How do I issue a hangup signal to this process using perl?
I'm not sure I understand your problem, but the perl way to send a signal is with the kill() function. The way to catch a signal is by installing a handler using the %SIG hash. perldoc -f kill perldoc perlipc -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>