Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Wrong idioms

by LanX (Canon)
on Mar 31, 2013 at 00:33 UTC ( #1026311=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >>> !! 0
    false
    >>> !! "0"
    true
    
  2. or download this
    >>> not not 0
    False
    >>> not not "0"
    True
    
  3. or download this
    irb(main):002:0> !! 0
    => true
    irb(main):003:0> !! "0"
    (irb):3: warning: string literal in condition
    => true
    
  4. or download this
      DB<102> !! 0
     => ""
    
      DB<103> !! "0"
     => ""
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2014-11-26 21:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (174 votes), past polls