in reply to Open a file
Let Perl tell you the reason why it failed:
my $filename = "C/Perl64/Perl Scripts/Names.txt"; open(my $fh,'<:encoding(UTF-8)', $filename) || die "Could not open file '$filename': $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Open a file
by liljohn (Initiate) on Aug 12, 2019 at 21:29 UTC | |
by stevieb (Canon) on Aug 12, 2019 at 21:45 UTC |