my @files=("http://domain.com/file1","http://domain.com/file2","http://domain.com/file3"); foreach my $filename(@files) { `wget $filename`; }