my $wget = system "/usr/sfw/bin/wget", "-t", "2", "-T", "5", "-S", "-O", "-", $url; my @string = grep $pattern $wget;