Help for this page

Select Code to Download


  1. or download this
    chomp($headerline = <INFILE>);
    my @header = split(/\t/,$headerline);
    
  2. or download this
    my @header = qw(fn ln age);
    
  3. or download this
    while( <INFILE>) {
      chomp;
    ...
      my @columns = split(/\t/,$_);
      push @a, { map { $header[$c++] => $_ } @columns };
    }