File::Binary is a perl module that provides an interface to modify and read binary files. WWW: https://metacpan.org/release/File-Binary