in reply to Re: Perl reads minimum 8KB from files. Can this be lowered?
in thread Perl reads minimum 8KB from files. Can this be lowered?

That's not true. That will just change the amount returned.

$ strace perl -e'$/ = \512; 1 while <STDIN>' <a 2>&1 | grep 'read(0' read(0, "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"..., 8192) = 8192 read(0, "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"..., 8192) = 8192 read(0, "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"..., 8192) = 3616 read(0, "", 8192) = 0