"..Sorry I can't let this stand uncorrected!.."
There is really no need to be sorry, because your assertions and "tests" are so correct and right I.
However, I believe Athanasius first caught the message I was trying to pass to the OP, in this line ..The string comparison operator eq puts its operands into scalar context..