title: What is the equivalent of PHP's $_POST in a Perl CGI script and how can I use it?
body: <p>I have two Perl files: <code>action.pl</code> and the other is <code>test.pl</code></p>
  
  <p><code>action.pl</code> has a form:</p>
  
  <pre><code>print $cgi-&gt;header, &lt;&lt;html;
  &lt;form action="test.pl" method="post"&gt;
  html
  while (my @row = $sth-&gt;fetchrow)
  {
  print $cgi-&gt;header, &lt;&lt;html;
  ID:&lt;input name="pid" value="@row[0]" readonly="true"/&gt;&lt;br/&gt;
  Name: &lt;input name="pname" value="@row[1]"/&gt;&lt;br/&gt;
  Description : &lt;input name="pdescription" value="@row[2]"/&gt;&lt;br/&gt;
  Unit Price :&lt;input name="punitprice" value="@row[3]"/&gt;&lt;br/&gt;
  html
  }
  print $cgi-&gt;header, &lt;&lt;html
  &lt;input type="submit" value="update Row"&gt;
  &lt;/form&gt;
  html
  </code></pre>
  
  <p>What should I write in <code>test.pl</code> so as to access the form values submitted by the user?</p>
  
  <p>In other words, what equivalent of PHP's <code>$_POST['pid']</code> in Perl?</p>