title: Perl increment operator
body: <pre><code>$a = 10; 
  $b = (++$a) + (++$a) + (++$a);
  print $b;
  </code></pre>
  
  <p>I am getting the answer 37.
  Can anybody explain how this operation is proceeding and how the result is getting 37.</p>
  
  <p>As per my logic it should be 36:</p>
  
  <pre><code>(++$a) + (++$a) + (++$a)
     11  +    12  +    13  = 36
  </code></pre>
  
  <p>But I am getting the answer 37</p>