Help for this page

Select Code to Download


  1. or download this
    my %columns;
    @columns{@split_first_line} = 0 .. $#split_first_line;
    
  2. or download this
    if (defined (my $field_num = $columns{$field_name})) {
      # field exists
    }