Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-11-19 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (282 votes). Check out past polls.

    Notices?