http://www.perlmonks.org?node_id=297876


in reply to Re: Re: Just Another Thread Hacker
in thread Just Another Thread Hacker

Well, if we're golfing...
use threads;use IO'Socket;print$_->join for map threads-> create(sub{$o=IO'Socket'INET->new('perlmonks.org:80');print$o "GET /?node_id=$_[0]\n\n";local$/;<$o>=~/e>(\w+\s)/},$_),9655 ,6352,297065,138903;print$/
A wee bit slower (it grabs the full HTML) and not as prettily formatted, but comes in at 207.

Toodle-pip,
Ben