use LWP::Simple; my $xml = get($url);