Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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? - Answer contributed by japhy

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

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 studying the Monastery: (6)
As of 2016-08-28 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (391 votes). Check out past polls.