"If two JPG files have the exact same size, then we shall open both files for reading and we'll compare the first 70000 bytes. And if they are an exact match, then I assume that the two photos are the same."
That's a bad assumption, and one you don't need to make. If file sizes match just compare hashes (Digest::MD5, Digest::MurmurHash).
In reply to Re: Website for small perl scripts
by marto
in thread Website for small perl scripts
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |