Example:
use strict; use overload "<>" => \&bin_iterate; while (<>) { . . . } [download]
In reply to Re: Any way to binmode by IDStewart in thread Any way to binmode <> by Thelonius