title: Perl : converting csv file to xml
body: <p>I'm trying to parse a csv file and convert it to XML. The .csv file consists of a list of entries, separated by commas. So, two sample entries look like this:</p>
  
  <pre><code>AP,AB,A123,B123,,,
  MA,NA,M123,TEXT,TEXT,TEXT_VALUE
  </code></pre>
  
  <p>Some field are blank in file and file has no header rows. 
  Any suggestions how to go with this. Haven't figured out how to go with this. 
  Thanks.</p>