Help for this page

Select Code to Download


  1. or download this
    # figure out the column headings from the first line
    my @csvColumns = ();
    foreach my $colName (@{$csvParser->getline($csvHandle)}) {
        push @csvColumns, $colName;
    }
    
  2. or download this
    # figure out the column headings from the first line
    my @csvColumns = @{$csvParser->getline($csvHandle)};