Help for this page
system("tail -10 inputFile.txt >> outputFile.txt"); open <FILE, "</path/to/outputFile.txt"> or die "can't open file: $!\n" +; #do whatever here close FILE or die "can't close file $!\n";
@input = <FILE>; $i = 0; ... } } close FILE or die "can't close file: $!\n";