Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: "open" Best Practices

by eyepopslikeamosquito (Archbishop)
on Jul 13, 2019 at 09:04 UTC ( [id://11102778]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(my $fh, '<', $file) or die "error opening '$file': $!";
    
  2. or download this
    open(my $fh, '<', $file) || die "error opening '$file': $!";
    
  3. or download this
    if ($x > 5 || $y < 10) ...
    
  4. or download this
    if ($x > 5 or $y < 10) ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found