splice( @array, $_ - $ind++, 1 ) foreach ( sort @remindexes );