in reply to Using fcntl function for the first time
my $flags=fcntl $fh,F_GETFL,0 || die "fcntl call failed: $!\n"; [download]
my $flags=fcntl $fh,F_GETFL, (0||die "fcntl call failed: $!\n"); [download]
Dave.