#!/usr/bin/perl system("perl script1.pl input.txt output.txt"); # A long process system("perl script2.pl output.txt finalout.txt");