in reply to Re^2: File input-output handle defined or no determination
in thread File input-output handle defined or no determination

It’s in the sample code. It dies if the open fails.

open my $R, '<', "$file" or die "your specific message $!";