Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: shift and logical or

by mhearse (Chaplain)
on Nov 17, 2012 at 01:20 UTC ( #1004272=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (!$val) {
        $val = "undefined";
    }
    
  2. or download this
    $val = ($val) ? "defined" : "undefined";
    
  3. or download this
    if ($val) {
        $val = "defined";
    ...
    else {
        $val = "undefined";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004272]
help
Chatterbox?
[Corion]: ambrus: A sacrifice is a sacrifice ;)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-01-16 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.