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";
In reply to Re^3: Conserving bandwidth with WWW::Mechanize's get()
by pc88mxer
in thread Conserving bandwidth with WWW::Mechanize's get()
by Scythe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |