in reply to Re: Arrays merges and redundancies
in thread Arrays merges and redundancies

From the following studpi example;

@IDs = qw(Apple Apple Grape Banana Banana) @Price = qw(5 5 2 3 4 ) @Amount = qw(10 15 3 4 4 ) I want; @IDs = qw(Apple Grape Banana) @Price = qw(5 2 3/4) @Amount = qw(10/15 3 4)

Ithought about using hashes but for that I need unique key and IDs are not unique. Sorry for vague explanations and thanks for help.