title: How to check a checkbox using WWW::Mechanize?
body: <p>I read the Perl <code>WWW::Mechanize</code> module and this is the syntax:</p>
  
  <pre><code>$mech-&gt;tick( $name, $value [, $set] )
  </code></pre>
  
  <p>But, when I checked the page source of the web page, this is what I found:</p>
  
  <pre><code>&lt;div class="key-name" title="GLOBAL_PROCESSING"&gt;GLOBAL_PROCESSING&lt;/div&gt;
      &lt;div class="col-50 col-left"&gt;
      &lt;div class="string-controls"&gt;
      &lt;a href="#" class="control-expand-toggle"&gt;&lt;/a&gt;
      &lt;a href="#" class="control-activity-toggle "&gt;0&lt;/a&gt;
      &lt;input type="checkbox" class="control-select-string"&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>I do not see an id and value for the checkbox field. How should I do this?</p>
  
  <p>Also the check box is not part of any form. How can I refer to this checkbox in Mechanize?  </p>
  
  <p><strong>HTML code</strong></p>
  
  <pre><code>&lt;div id="edit-controls-leftside" class="clear-fix"&gt;
  &lt;div class="col-left"&gt;
  &lt;label&gt;
  &lt;input id="select-all-visible" class="" type="checkbox"&gt;
  &amp;nbsp;Select all visible
  &lt;/label&gt;
  &lt;a id="expand-all" class="blue-on-dark-blue text-link arrow-leftside-down"     href="#"&gt;Show key names&lt;/a&gt;
  &lt;a id="show-modify-nav" class="blue-on-dark-blue text-link arrow-leftside-right disabled" href="#"&gt;Modify selected...&lt;/a&gt;
  &lt;nav id="modify-nav" style="display: none;"&gt;
  &lt;a id="show-order-translation" class="sub-nav-item" href="#"&gt;Order translations&lt;/a&gt;
  </code></pre>