Parsing several Internet pages simultaneously [duplicate]
There is a list of (unrelated开发者_JS百科) Internet pages I'd like to load simultaneously. I wouldn't mind parsing the information itself page after page, but I thought to myself, that if my browser can load two and more pages simultaneously, why shouldn't Perl do that?
I'm afraid I couldn't find anything like that on the Internet, so I am asking you.
Thank you in advance.
Parallel::ForkManager is your friend. Tell it how many you want to do simultaneously and loop through your list.
精彩评论