in reply to Re^2: reading files in @ARGV doesn't return expected output
in thread reading files in @ARGV doesn't return expected output

Sorry, I forgot to change it in the second for loop, which should be:
for my $j (1..2) { push @files, "$path/File-${molec2}-cluster${j}.out"; }