in reply to Re^4: keep track of array indexes
in thread keep track of array indexes

Hello choroba. I have a question about your last line where you say @order. Not sure why it works out. Why does this work instead of saying 0..$#order? Maybe I'm missing something obvious.

Update Wow, just took stepping away from the problem to see that both ways supply the same set of array indices. Knew it had to be obvious.