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


in reply to Testing if an array contains a value and then deleting it in most efficient way

Hi karpatov

Please refer these nodes,you can get better idea

finding and deleting an element from array
deleting elements of one array from another
Deleting Elements from an Array without their Index Number?

Punitha