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


in reply to Deleting an array entry

You may want to play around with splice.
perldoc -f splice