Any advice and help to know how to remove duplicated values  in each line of a 2 dimensional Array.

I have this 2D array :

@tab = (["12","25","2","18","9","25","18","30","30","12","30","30","18","12"],["154","12","56","8","22","88","74","12","56","32","88","88","56","12","12","56"]);

And would like to obtain this result :

@tab = (["12","25","2","18","9","30"],["154","12","56","8","22","88","74","32"]);

I know how to do on 1D array but don't success on 2D array.

Thanks

Similar questions and discussions