in reply to string mis-match?

I suggest printing both strings out with delimiters to see what they look like:

printf ']%s[\n', $string1; printf ']%s[\n', $string2;

The ]['s will make whitespace in the strings noticeable.

If you still don't see a difference, print the hex values of each byte in the string to see where it mismatches. And consider changing your system font if it turns out to be an I vs 1 thing or something similar.

Replies are listed 'Best First'.
Re^2: string mis-match?
by zeltus (Beadle) on Aug 13, 2015 at 14:54 UTC

    Yes, I do this sort of thing as a matter of course. The strings look identical. But the strimg comparison still declares a mis-match