in reply to Re: Grouping of 2D arrays
in thread Grouping of 2D arrays
Hi,
I would like to group a existing perl array. The array is created based on a parsed txt file.
while (my $row2 = <$fh2>) { chomp $row; my @records2 = split(';', $row2); my @items = ($records2[3], $records2[4], $records2[5], $records2[7], $ +records2[8]);
I know based on the file the quantity of items, so I have a if statement that knows when all the items are in the array. This if statement should also do the grouping and present the information to the user.
$colli_amount++; if ($total_colli_amount == $colli_amount) {}
|
|---|