Syntactic Confectionery Delight | |
PerlMonks |
Re: Best way to compare range of characters in two text filesby Laurent_R (Canon) |
on Jul 12, 2018 at 07:36 UTC ( [id://1218362]=note: print w/replies, xml ) | Need Help?? |
If you know how to read the first 50 characters from each file, why don't you simply read them into variables and then compare the variables? That should be much simpler.
I can't say much more right now because it is not clear to me what you mean by comparing the first 50 characters: do you just need to know if they are equal? Do you need to find the differences? Also, are the files text files? Please provide more details.
In Section
Seekers of Perl Wisdom
|
|