디렉토리의 각 파일을 읽고, 각 입력 파일의 결과를 두 개의 서로 다른 파일 (예 : 파일)로 출력하는 스크립트를 작성했습니다. "outfile1.txt"및 "outfile2.txt". 내가 원래 사람에게 내 결과 파일을 링크 할 수 있도록하려면, 그래서 어떻게 내가 이런 걸 얻을, 결과 파일 이름에 입력 파일 이름 (infile.txt)를 추가 할 수 있습니다Perl : 출력 파일 이름에 입력 파일 이름을 추가
infile1_outfile1.txt을
을 infile1_outfile2.txtinfile2_outfile1.txt, infile2_outfile1.txt
infile3_outfile1.txt, infile3_outfile2.txt ...?
도움 주셔서 감사합니다.