in reply to Re: Using fcntl function for the first time
in thread Using fcntl function for the first time
No..either:open my $fh,'>',$file_name || die "can't open $file_name for writing: +$!\n";
Or:open my $fh,'>',$file_name or die "can't open $file_name for writing: +$!\n";
And similar for your other uses of the "||" operator.open(my $fh,'>',$file_name) || die "can't open $file_name for writing: + $!\n";
|
|---|