use Threads;
async{
download($file1); #function that grabs the file
}
async{
download($file2);
}#etc
But be careful with threads. You only get the illusion that you are working concurrently (that is, assuming a single processor, single net connection). The concurrent downloads may or may not speed up the process (if you interested in that sort of thing). If you think my answer has nothing to do with your question, than ignore it and try to write a more descriptive question the next time around. In reply to Re: Downloading multiple files
by AgentM
in thread Downloading multiple files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |