Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: eq vs. ==

by benn (Priest)
on Jul 20, 2003 at 12:24 UTC ( #276035=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "==" if $a == ($b * $c);
    
  2. or download this
    $a = "2.0";
    print "eq" if $a eq "2"; # Nope
    print "==" if $a == 2;   # Yup
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-09-28 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (542 votes). Check out past polls.