open my $OUT, '>', 'output.txt' or die "output: $!"; for my $file (glob 'dir/*.txt') { # Your old code here. Remove opening the output file. }
In reply to Re: Using perl to extract data from multiple .txt files
by choroba
in thread Using perl to extract data from multiple .txt files
by lalalala1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |