Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Equality operators

by salva (Monsignor)
on Apr 25, 2006 at 11:46 UTC ( #545546=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Equality operators
in thread Equality operators

because strings are automatically converted to numbers when needed. '1foo' is converted to 1 and 'foo1' is converted to 0.


Comment on Re^3: Equality operators
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2014-10-02 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (56 votes), past polls