Help for this page

Select Code to Download


  1. or download this
    my $d = [[],[], [], []];
    
  2. or download this
    sub pushsome {
      my $AoAref = shift;
    ...
        push @{$AoAref->[$i]}, $_[$i];
      }
    }
    
  3. or download this
    while ( <DATA> )
    {
      chomp;
      pushsome $d, split /,/;
    }
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    my $d = fetchdata( shift );
    
    # ...