http://www.perlmonks.org?node_id=1055785


in reply to Re: How do I remove the duplicates from the array?
in thread How do I remove the duplicates from the array?

Very good

But i need

@output = ( -20, , ,1, , , ,9,3, ,-4, 5, ,20); @output1 = ( 10, , ,9, , , ,1,3, , 5, 5, ,30); $#array==$#array1==$#output==$#output1