my $form = $mech_obj->form_name('myform'); $form->push_input('text', {name => 'field', value => 'blah'});