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.
In reply to Re: Create a list from an Arrray
by ww
in thread Create a list from an Arrray
by WorkerBee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |