in reply to Create a list from an Arrray

This is a lazy question (where 'lazy' ne 'virtue').

Mis-interpreted question. However, THERE IS A BETTER WAY:

Search for an answer -- that's probably going to be quicker than asking and waiting for an answer. This is almost a FAQ and definitely can be found with minimal effort on this site.

Super Search or Google site:perlmonks.org intersection arrays will offer ways to solve your problem without annoying the electrons and silicon by copying the arrays to lists.

If I've misconstrued your question or the logic needed to answer it, my apologies to all those electrons which were inconvenienced by the creation of this post.