in reply to Re: switching array entries
in thread switching array entries

thanks for your answer, but pay attentions that if $indexFrom is smaller than $indexTo, we have to susbstruct 1 in the the outer splice's offset.

Hotshot