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" :-)

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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2016-06-27 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.