|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^3: Problem handling 2 simultaneous socket streamsby zentara (Archbishop) |
| on Sep 29, 2011 at 18:20 UTC ( #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
|
|
||||||||||||||||||||||||||||||||