JackDno7 has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing a script that takes as the input the name of a city, and then matches it to a field in a data file to get the proper output. Two of the cities I deal with are Evansville and South Bend. When I compare them using the eq comparator, they don't match (as they shouldn't). But when I use the == comparator, the output says they are equal. Why is that?
Back to
Seekers of Perl Wisdom