Try something like this (untested):
foreach(@remindexes) {
splice(@array, $_, 1);
}
Update: This is going to squeeze the array down as it goes, so the indices in @remindexes will be inaccurate. See
btrott's post below for the right way to do it.
HTH,
--isotope