#!/usr/bin/perl use threads; my @urls = qw(http://www.perlmonks.org http://www.perlguru.org); foreach my $url (@urls) { my $thread = threads->new(\&getter, $url); $thread->detach; } sub getter { # well, here is supposed to be the get stuff #which would fetch a site or whatever you'd like #to do. #} ## Code untested