<?xml version="1.0" encoding="windows-1252"?>
<node id="439552" title="Re: Clicking nameless buttons with WWW::Mechanize" created="2005-03-15 01:16:24" updated="2005-06-10 16:58:12">
<type id="11">
note</type>
<author id="9685">
mdillon</author>
<data>
<field name="doctext">
It looks like you can pass a &lt;code&gt;value&lt;/code&gt; parameter to &lt;code&gt;click_button&lt;/code&gt;. If the submit buttons have different values, that should work.

&lt;p&gt;Taking another tack, how about adding a name to each button? I suppose there's probably a reason they don't have names, but that would obviously simplify things. Sorry if this suggestion sounds dismissive.</field>
<field name="root_node">
439544</field>
<field name="parent_node">
439544</field>
</data>
</node>
