Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 chanting in the Monastery: (4)
As of 2017-11-17 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (270 votes). Check out past polls.

    Notices?