title: Populate webpage textboxes using Perl script.How?
body: <p>I've a webpage which has 2 text boxes. When i open the webpage cursor points to the first textbox. I need to fill these two textboxes and click on submit. I've written the code, but not working. I don't know the textboxes names as its on the server controlled by the company and no access to me. I would require something like a 
  fill a text box then do a tab fill anther text box do a tab and then click submit button. Any help?</p>
  
  <pre><code>#! /usr/local/bin/perl
  
  use LWP::UserAgent;
  use WWW::Mechanize;
  my $agent = WWW::Mechanize-&gt;new(autocheck =&gt; [1]);
  my $url  = 'http://example.com/pages/editpage.action?pageId=197431143';
  $agent-&gt;get($url);
  $agent-&gt;submit_form(
      fields   =&gt; {
          username   =&gt; $username,
          password   =&gt; $password,
      },
      button   =&gt; 'Log In'
  );
  </code></pre>