title: how to read column in excel sheet using perl
body: <p>I have an excel sheet with 5 columns, in which I want details of column C.
  below is my code, which I tried</p>
  
  <pre><code>use Win32::OLE::Const 'Microsoft Excel';
  use Spreadsheet::Read;
  use Spreadsheet::ParseExcel;
  my $parser   = Spreadsheet::ParseExcel-&gt;new();
  my $workbook = $parser-&gt;parse('abc.xls');
  my $sheet_got;
  for my $worksheet ( $workbook-&gt;worksheets() ) 
  {
      my ( $row_min, $row_max ) = $worksheet-&gt;row_range();
      my ( $col_min, $col_max ) = $worksheet-&gt;col_range();
      for my $row ( $row_min .. $row_max ) 
      {
          for my $col ( $col_min .. $col_max ) 
          {
             my $cell = $worksheet-&gt;get_cell( $row, $col );
             next unless $cell;
             $cell = $cell-&gt;value();
             $sheet_got .= "$cell ";               
             }           
           }
       }
  </code></pre>