I have a question on how to print to different files, say, out.1.txt, out.2.txt, etc.
If i have
open (OUTP, ">out.txt")
print OUTP "$_";
in some sort of loop, then out.txt only stores the information in the last iteration of the loop because all the other attempts were overwritten. What I'm...