Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: eq vs. ==

by adrianh (Chancellor)
on Jul 20, 2003 at 10:35 UTC ( #276024=note: print w/ replies, xml ) Need Help??


in reply to eq vs. ==

Consider:

print "eq" if "02" eq "2"; print "==" if "02" == "2";

and many other variations on the theme. There are many strings that are "==" but not "eq" :-)


Comment on Re: eq vs. ==
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-12-27 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (176 votes), past polls