I have an array that holds array refs, I also have a list of items to skip to the end of the selection, so I thought I would remove them and push them back to the end of the array so I created another array to hold the new list.
if this how it should be done?
while (@array1) {
next if defined $skip{$_->[0]};
push @array2, shift @array1;
}