while <INFILE> { $i++; open OUT ">$i.txt"; #do whatever with your line print OUT, "...whatever..."; close OUT; #just to be tidy :) }
In reply to Re^2: Extracting each line in a file to new file seperately
by nemesdani
in thread Extracting each line in a file to new file seperately
by raj17
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |