Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Illogical logic statement

by toolic (Bishop)
on Dec 01, 2012 at 03:09 UTC ( #1006565=note: print w/replies, xml ) Need Help??


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