in reply to Any way to binmode <>
I think so. Here's an idea: Look up the idiom to get $. to reset with each file in the ARGV list. Put your binmode there. (maybe a dumy read of zero bytes to make it advance & open the next file, then re-binmode it).
—John