Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[james28909]: i found a demo in the PDK samples, and it works there, so just need to figure out what im doing wrong.
[choroba]: Shouldn't you replace it with your app's name?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-07-28 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (430 votes). Check out past polls.