Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2016-12-03 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.