perl script.pl test2.csv > final.csv