my $file = <STDIN>; chomp $file; open my $handle, '<', $file or die "Can't read $file: $!";
In reply to Re: open fails to open file when filename read from STDIN
by Anonymous Monk
in thread open fails to open file when filename read from STDIN
by Nicpetbio23!
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |