Help for this page

Select Code to Download


  1. or download this
      my @sheet = () ;
      while ($line = <SHEET>) {
        my @columns = split /\s+/, $line ;
        push @sheet, \@columns ;
      } ;
    
  2. or download this
      my (@sheet, @columns) ;
      while (my $line = <SHEET>) {
        @columns = split /\s+/, $line ;
        push @sheet, \@columns ;
      } ;
    
  3. or download this
      push @sheet, [ @columns ] ;
    
  4. or download this
      push @sheet, [ split /\s+/, $line ] ;