- or download this
{
local *FH; open(FH, "< ${file}.txt") or die "Can't open ${file}.
+txt: $!\n";
...
while(<FH>) { print FH1 $_; }
}
- or download this
{
open(my $fh, '<', "${file}.txt") or die "Can't open ${file}.txt:
+$!\n";
...
while (<$fh>) { print $fh1 $_; }
}
- or download this
my @file_data = (
[ undef, "${file}.txt", 'r' ],
...
close($_->[0])
foreach @file_data;