Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Using fcntl function for the first time

by runrig (Abbot)
on Mar 11, 2015 at 22:36 UTC ( [id://1119700]=note: print w/replies, xml ) Need Help??


in reply to Re: Using fcntl function for the first time
in thread Using fcntl function for the first time

open my $fh,'>',$file_name || die "can't open $file_name for writing: +$!\n";
No..either:
open my $fh,'>',$file_name or die "can't open $file_name for writing: +$!\n";
Or:
open(my $fh,'>',$file_name) || die "can't open $file_name for writing: + $!\n";
And similar for your other uses of the "||" operator.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1119700]
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: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found