all of a sudden I have a strange problem with WWW::Mechanize that I've boiled down to this:
my $mech = WWW::Mechanize->new;
$mech->agent_alias( 'Linux Mozilla' );
my $url = "http://www.economist.com/news/world-week/21716670-politics-
$mech->get($url, ":content_file" => "output.html");
What happens is that the output file contains only part of the expected content (a fragment of an html-document that looks as if it is truncated somewhere).
wget has no problems to download the url correctly.
What could be the issue here?