Forsaken has asked for the wisdom of the Perl Monks concerning the following question:
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.