Help for this page

Select Code to Download


  1. or download this
    # I didn't copy the top of your file, and you should add use Data::Dum
    +per; if you want this code to work
    my $header = $csv->getline($FH);
    my @keys = @$header;
    ...
    }
    
    print "Result: ", Dumper \%result;
    
  2. or download this
    while (my $row = $csv->getline($FH))
    {
    ...
    }
    
    print "Result: ", Dumper \%result;