Since binmode needs to be done between the open and the first read, there doesn't seem to be a way to do it with <> since that combines the first read with the implicit open.
I tried
use open IN =>":raw";
but that doesn't work.
Edit: chipmunk 2001-08-02
In reply to Any way to binmode <> by Thelonius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |