in reply to Useless use of string eq
Thanks everyone. I had somewhere concluded that = was for numbers only, which made me look elsewhere for eq.
Re: Uppercase/Lowercase - I had stripped out the uc($var) bits but I forgot to tell you :( At somepoint there will be @ARGV checking, but I'm working my way slowly up!
-
Flubb
Re^2: Useless use of string eq
by cdarke (Prior) on Dec 06, 2007 at 16:53 UTC
|
I had somewhere concluded that = was for numbers only
Mixing up with comparison operators. It is == that is for numbers, rather than eq for strings. | [reply] |
|