Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Something interesting i found today

by Corion (Pope)
on Aug 24, 2013 at 06:50 UTC ( #1050774=note: print w/ replies, xml ) Need Help??


in reply to Something interesting i found today

In Perl, the operators determine the type of their arguments. The numeric operators treat strings as numbers, and things that don't look like a number get treated as zero.

This explains all your four cases.


Comment on Re: Something interesting i found today

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050774]
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: (6)
As of 2014-07-12 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls