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.
In reply to Re^2: Arrays merges and redundancies
by Anonymous Monk
in thread Arrays merges and redundancies
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |