Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Edit: Solution found. Many thanks.
lowly initiate seeking the infinite wisdom of the higher level monks... Currently working on a script that has 2 separate socketstreams, which for the sake of simplicity i'll refer to as SOCK1 and SOCK2. Normal method to read from a filehandle that I'd use is while(<SOCK1>) but when doing so it chunks out all the data, as it should, but then sits around waiting for more, while I want it to move on with the rest of the script, in this case repeating the process for SOCK2. Anyone got any idea on how to go about this? Details: Activeperl 5.8.3, WinXP. In reply to multiple socket streams by Forsaken
|
|