The solutions above are correct but tedious, in that you have to code the solution yourself.
If you prefer a lazy solution, let Jim Keenan do the hard part, and just install his module, List::Compare
--
TTTATCGGTCGTTATATAGATGTTTGCA
In reply to Re: Extracting elements in one array but not in another
by TomDLux
in thread Extracting elements in one array but not in another
by august3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |