in reply to
Re: string compare matches incorrectly
in thread
string compare matches incorrectly
Grandfather
that was going to be my thought as well -- reading the input from a file would include the line breaks, so they need to be chomped in order to get an accurate comparison.
Comment on
Re^2: string compare matches incorrectly
In Section
Seekers of Perl Wisdom