in reply to Downloading multiple files

I have a better solution. If you want the illusion that you're downloading multiple files at the same time, you can use Perl Threads. In its simplest form, you could use...
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.