hi all! ich hab ein perl script, das alle files in einem directory parst.
der output ist jedoch nur 1 *.txt file.
cmd bsp:
perl parser_05_07.pl -d abc -o x.txt
-d abc = abc ist das gewünschte dir
-o so heißt das output file
wie mach ich das, dass wenn z. B. 300 files im dir sind
der perl-parser eins nach dem anderen bearbeitet
und die output-files z.B. mit einem "x_" vor dem filenamen
umbenennt?
also 1.txt wird x_1.txt, 2.txt wird x_2.txt, usw.
danke, c7