Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: To || or not to or and why.

by shenme (Priest)
on Sep 15, 2003 at 22:56 UTC ( [id://291676]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      @info = stat($file) || die;   # oops, scalar sense of stat!
      @info = stat($file) or die;   # better, now @info gets its due
    
  2. or download this
      my @Candidates = @_ or return;
      my @Candidates = @_ || return;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found