Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: eq vs. ==

by benn (Vicar)
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?
[Discipulus]: ok boring meeting time is arriving.. fortunaltely the boss is in videoconference so i read Le Monde Diplomatique.. see you
[karlgoethebier]: ok no meetings no more. i go to my research kitchen...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-05-24 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?