On Tue, Jul 11, 2006 at 05:07:02PM +0300, Gabor Szabo wrote:
> From the documentation it is not clear (to me) why is the value of the 
> submit
> button sent only if I specify button => button
> The doc only sais this:
> 
>      If button is not passed, then the "submit()" method is used instead.

And if you look at the documentation for "submit()", which is just above, then 
you see this:



$mech->submit()

       Submits the page, without specifying a button to click.  Actually, no 
button is clicked at all.

       This used to be a synonym for "$mech->click("submit")", but is no longer 
so.




J
-- 
Jody Belka
knew (at) pimb (dot) org

Reply via email to