If there is only one button on the form, $mech->click() with no arguments simply clicks that one button.