$cmd = "start perlprog.pl > file.log"; system ($cmd);