You have an array ref of array refs so you would need at least one more level of dereferencing to give this any chance of working. Why do you have such an odd structure to begin with? Why are the inner arrays there at all if each one consists of precisely one element?
Update: See johngg's example below which illustrates one way of dealing with such an AoA.
In reply to Re: Remove duplicated data from array ref
by hippo
in thread Remove duplicated data from array ref
by Maresia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |