Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-10-26 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls