XP is just a number | |
PerlMonks |
Re^6: Stumped with select->can_read (concat)by tye (Sage) |
on Aug 04, 2012 at 16:48 UTC ( [id://985443]=note: print w/replies, xml ) | Need Help?? |
sysread as big of chunks as you can, then concat everything into a temp buffer sysread can read onto the end of the buffer, avoiding the need to copy the data again:
- tye
In Section
Seekers of Perl Wisdom
|
|