use LWP::Simple; $twig->parse_html(get($url) or die "error downloading HTML");