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