|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Stumped with select->can_read (buffered)by tye (Cardinal) |
| on Aug 03, 2012 at 19:17 UTC ( #985326=note: print w/ replies, xml ) | Need Help?? |
|
Don't mix buffered I/O with select. can_read() doesn't return a handle because there is nothing currently left to read from the file handle. But <$fh> left plenty of stuff to be read in the buffer. - tye
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||