in reply to Re^2: Conserving bandwidth with WWW::Mechanize's get()
in thread Conserving bandwidth with WWW::Mechanize's get()
Using LWP::Debug you can get a trace of all the traffic that Mechanize is generating.
use WWW::Mechanize; use LWP::Debug; my $mech = WWW::Mechanize->new(); LWP::Debug::level("+"); $mech->get("http://www.cnn.com/"); print length($mech->content), "\n";
|
|---|