Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Answer: Why are these 2 strings equal?

by japhy (Canon)
on Jun 09, 2001 at 01:44 UTC ( #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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-05-27 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?