in reply to Reading binary file is not accurate ?
open (DATA, "$indir/$infile") or die "Open failed on $indir/$infil +e: $!\n"; [download]