|
|
| XP is just a number | |
| PerlMonks |
Re^3: Problem handling 2 simultaneous socket streamsby zentara (Cardinal) |
| on Sep 29, 2011 at 18:20 UTC ( [id://928641]=note: print w/replies, xml ) | Need Help?? |
|
How would I go about adding in reading STDIN to allow a user to type quit to end this program? See Re: Ask for STDIN but don't pause for it and the last example. This is untested in your code, but something like this will work. Just add \*STDIN to your Select object and test for it.
I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||