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

Re: or or

by ahunter (Monk)
on Jul 08, 2000 at 15:53 UTC ( [id://21645]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $a=$b || $c;
    $a=$b or $c;
    
  2. or download this
    $a=($b || $c);
    ($a=$b) or $c;
    
  3. or download this
    @info = stat($file) || die;     # oops, scalar sense of stat!
    @info = stat($file) or die;     # better, now @info gets its due
    
  4. or download this
    $a=$b || $c
    
  5. or download this
    $a=$b or $c
    
  6. or download this
    $a=0 or 1;
    $b=0 || 1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (None)
    As of 2024-04-25 00:12 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found