title: Perl convert JSON format into Comma separated values
body: <p>I am using web service that print output in JSON format as below,</p>
  
  <pre><code>{
    'message' =&gt; '',
    'data' =&gt; [
                {
                  'name' =&gt; 'Lee calls',
                  'empid' =&gt; '1289328',
                  'desc_id' =&gt; 'descl23423..23431'
                },
                {
                  'name' =&gt; 'Lee calls',
                  'empid' =&gt; '23431223',
                  'desc_id' =&gt; 'descl23423..234324'
                }
              ],
    'status' =&gt; 'success'
  };
  </code></pre>
  
  <p>I just need to convert the 'Data' item values into a CSV format. The need is, i have to create perl file which will be executed in the CLI(Command line interface) or a Linux terminal. So the perl will pull content from the Webservice and have to convert the JSON output into CSV format. </p>
  
  <p>Can you suggest me on this how to do?</p>