system("dir>file"); [download]
system("wget http://www.perlmonks.org>file"); [download]
In reply to capture system output by Galen