Nothing wrong with using perl, but I'd just use cmp
In reply to Re: Finding differences in binary files by Tux in thread Finding differences in binary files by blazar