The diamond operator has a bit of magic that could help. When used with an empty filehandle, it will read lines from all files in @ARGV. So you just have to put your input file list in @ARGV, and read it all with a while loop. And glob is your friend too.
local @ARGV = glob "folder/*.txt; # list of all .txt files in folder print while (<>); # print each line of all those files
In reply to Re: concatenating text files before reading
by Eily
in thread concatenating text files before reading
by Hossein
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |