get() is a well-behaved overloaded version of the method in LWP::UserAgent. This lets you do things like $mech->get( $url, ":content_file"=>$tempfile ); #### $ua->get( $url , $field_name => $value, ... ) If a $filename is provided with the :content_file option, then the response content will be saved here instead of in the response object.