Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Useless use of string eq

by Flubb (Acolyte)
on Dec 06, 2007 at 16:38 UTC ( #655451=note: print w/replies, xml ) Need Help??


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

Replies are listed 'Best First'.
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://655451]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2022-01-26 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?