Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Answer: Why are these 2 strings equal?

( #87090=categorized answer: print w/ replies, xml ) Need Help??

Q&A > strings > Why are these 2 strings equal? contributed by japhy

Because == is for numbers. Use eq. Read some documentation (perlop).

Comment on Answer: Why are these 2 strings equal?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-12-26 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls