title: Update existing variable value using perl
body: <hr>
  
  <p>I have sample.ini file </p>
  
  <p>Sample.ini</p>
  
  <pre><code>[Section1]
  workers=3
  port=8500
  ;
  [Section2]
  student=7
  port=7688
  ;
  </code></pre>
  
  <p>How to read workers value from Section1 and update to workers=8 </p>
  
  <p>Expected result</p>
  
  <p>[Section1]
     workers=8
     ...</p>
  
  <p>Thanks in Advance.</p>