[jconner@kwan ~]$ ls -l out.file gls: out.file: No such file or directory [jconner@kwan ~]$ perl -e ' @Call[0] = "ls"; @Call[1] = "-al"; @Call[4] = ">"; @Call[5] = "out.file"; system("@Call");' [jconner@kwan ~]$ ls -l out.file -rw-r----- 1 jconner other 4637 Oct 23 10:56 out.file [jconner@kwan ~]$