good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Dear Monks,
Regarding the following code: I wish to check that the array @regions_A_array does not contain any duplicates and if it does I wish to remove the duplicate. Is this effect best achieved within the while loop or outside the while loop? There may be more than one duplicate pushed into the array if the duplicate is not removed within the while loop. Update : I've done some reading and found the following: However, I don't understand it or how to apply it. In reply to Removing duplicates from an array by Win
|
|