Your skill will accomplish what the force of many cannot |
|
PerlMonks |
How do I close a pipeby gmoque (Acolyte) |
on Dec 14, 2008 at 04:55 UTC ( [id://730249]=perlquestion: print w/replies, xml ) | Need Help?? |
gmoque has asked for the wisdom of the Perl Monks concerning the following question: Monks: Does anyone knows how to close a pipe catching the event using SIG{INT}? When I run the code below and I send Ctrl+C I go into the sub end but it looks like the telnet session never closes.* Here is my code:
Any suggestions so the Telnet session won't hung up? *NOTE: The telnet session is done to a terminal that just outputs text (log), I don't have to login or type anything after opening the telnet. Thanks
Back to
Seekers of Perl Wisdom
|
|