in reply to Array element match

my @new = @array[1, 3];

Or do you have some other criteria than index to determine which array elements should be in the new array?

It helps if you actually describe how the code should decide, and what you have tried so far. See How (Not) To Ask a Question.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.