... Constructor and startup new() Creates and returns a new WWW::Mechanize object, hereafter referred to as the 'agent'. my $mech = WWW::Mechanize->new() The constructor for WWW::Mechanize overrides two of the parms to the LWP::UserAgent constructor: agent => "WWW-Mechanize/#.##" cookie_jar => {} # an empty, memory-only HTTP::Cookies object ...