title: merging two files using perl keeping the copy of original file in other file
body: <p>I have to files like A.ini and B.ini ,I want to merge both the files in A.ini</p>
  
  <pre><code>examples of files:
  A.ini::
  
  a=123
  b=xyx
  c=434
  
  B.ini contains:
  a=abc
  m=shank
  n=paul
  
  my output in files A.ini should be like
  
  a=123abc
  b=xyx
  c=434
  m=shank
  n=paul
  </code></pre>
  
  <p>I want to this merging to be done in perl language and I want to keep the copy of old A.ini file at some other place to use old copy</p>