Help for this page

Select Code to Download


  1. or download this
    #@data = SplitCSVLine($csv_line);
    sub SplitCSVLine {
        my ($line) = @_;
    ...
    
        return @data;
    }
    
  2. or download this
    sub GetStyleCodesMap {
        my @csv_lines = chrtoolbox::MyCat('style_codes.csv');
    
    ...
        next if($line_num == 1); #skip the header
        last if($line eq "\n"); #done reading the mapping
        @data = SplitCSVLine($line);