I am running Windows 10 and am using Perl 5.8. I can not open a file from a Perl script no matter how I try. My most recent code is as follows:
my $filename = "C/Perl64/Perl Scripts/Names.txt"; open(my $fh,'<:encoding(UTF-8)', $filename) || die "Could not open fil +e";
In reply to Open a file by liljohn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |