Personally, I imagine that Perl's implementation of read shields us from the vagaries of reads for other buffer lengths. Maybe POSIX's definition of read has such length limitations, but if so, I would imagine those being confined to sysread. So making the value of 512 at least configurable seems prudent.
In reply to Re: Portability of Large read Lengths
by Corion
in thread Portability of Large read Lengths
by johnmyleswhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |