http://qs321.pair.com?node_id=1168673


in reply to Re^2: Simple comparison of 2 files
in thread Simple comparison of 2 files

Ok, that makes it clear. Your issue is with the line:
if ($FILE1letter == $FILE2letter) {
Use the eq operator to compare strings. == compares numerically.