Perl: the Markov chain saw | |
PerlMonks |
Re^3: How do I close a pipeby ysth (Canon) |
on Dec 14, 2008 at 06:34 UTC ( [id://730258]=note: print w/replies, xml ) | Need Help?? |
Per close, after the pipe is closed, perl will wait for the telnet process to complete and return its exit status in $?. Closing the pipe will result in telnet getting a SIGPIPE, which should cause telnet to terminate, but YMMV.
In Section
Seekers of Perl Wisdom
|
|