perl foo.pl param1 > output1.txt perl bar.pl output1.txt > output2.txt perl tins.pl output2.txt > final_result.txt