in reply to Removing certain elements from an array

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