in reply to Problem with IO::Select
Last time I checked, the length of undef is 0 (while getting a warning), and that's false. Can't imagine the code inside that loop makes much difference then. :)my $rx_txt; while (length($rx_txt)) { $sock->recv($rx_txt, 1024); $buff.=$rx_txt; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with IO::Select
by timos (Beadle) on Mar 01, 2007 at 00:11 UTC | |
by Thelonius (Priest) on Mar 01, 2007 at 00:36 UTC | |
by timos (Beadle) on Mar 01, 2007 at 00:46 UTC | |
by Thelonius (Priest) on Mar 01, 2007 at 01:07 UTC | |
by tye (Sage) on Mar 01, 2007 at 01:26 UTC |