http://qs321.pair.com?node_id=661771


in reply to Question about WWW::Mechanize

WWW::Mechanize is up to version 1.34 ... (if you really can't upgrade for whatever reason, you can try to subclass it yourself to add update() taken from the source of a newer version)
my $mech = WWW::Mechanize->new(); $mech->get('.'); # to make it internall create request/response objec +ts $mech->update_html($html); # then use normally
WWW::Mechanize::Cached may be of interest as well