in reply to compare 2 arrays of strings

perldoc -f chomp