Well, if you use sysread, you should also use syswrite instead of print. That way you don't have to bother with binmode, etc. And somehow, it seems cleaner to me than mixing the two different idioms.
Comment on Re: Re: Re: How to send a file vith apache?
I didn't use sysread, just read, which uses buffering the same way as the diamond operator. It just reads a fixed number of bytes instead of scanning for EOL.
You're right that sysread and syswrite would work fine; they might even be a little faster.