I've got a doozie on my hand. I need to be able to do the following:
1. Request a text document via HTTP, open it and loop through it searching for strings. I've been reading the documentation for ActivePERL and I haven't been able to get it working.
2. Request a binary file via HTTP and save it to a pre-specified location on the hard drive.
3. Be able to set up a list of requests, and be able to queue them so only 2 go at a time. If I set up an array of URL's I want to download and just use a foreach() command to do them all, it'll try to do them all at once. I want them to fire two at a time, when one completes begin the next.
I have absolutely NO clue of how to do these things.
I've looked around for code samples and have run into very limited success. Anyone?
1. Request a text document via HTTP, open it and loop through it searching for strings. I've been reading the documentation for ActivePERL and I haven't been able to get it working.
2. Request a binary file via HTTP and save it to a pre-specified location on the hard drive.
3. Be able to set up a list of requests, and be able to queue them so only 2 go at a time. If I set up an array of URL's I want to download and just use a foreach() command to do them all, it'll try to do them all at once. I want them to fire two at a time, when one completes begin the next.
I have absolutely NO clue of how to do these things.