system('perl.exe yourstatisticalroutine.pl inputfile.name >outputfile.name');