Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: eq vs. ==

by adrianh (Chancellor)
on Jul 20, 2003 at 10:35 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://276024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-04-18 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found