Do you know where your variables are? | |
PerlMonks |
Re^2: Missing data in IO::Socket::INET sysread/syswriteby reasonablekeith (Deacon) |
on Sep 10, 2009 at 15:56 UTC ( [id://794611]=note: print w/replies, xml ) | Need Help?? |
d'oh. I'd ass-u-me d that it blocked for the full length of the read. I just hacked in this for the read subroutine...
and have been unable to reproduce the error. Thank you! ++ PS: I will abstract the loop, as I realise the other sysread here could suffer the same problem Update: Just seen your code. I shall be nicking that :) Update2: Worked a treat with an extra curly bracket and two semi-colons :)
--- my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom
|
|