http://www.perlmonks.org?node_id=1006565


in reply to Illogical logic statement

What am I missing?

Tip #1 from the Basic debugging checklist: warnings

Argument "true" isn't numeric in numeric eq (==) at line 11 (#1) (W numeric) The indicated string was fed as an argument to an oper +ator that expected a numeric value instead. If you're fortunate the me +ssage will identify which operator was so unfortunate. Argument "false" isn't numeric in numeric eq (==) at line 11 (#1) false=true