[Israel.pm] take out from array

Offer Kaye offer.kaye at gmail.com
Wed Oct 17 07:24:37 PDT 2007


On 10/16/07, Ernst, Yehuda wrote:
> i do not know the place of the item
>

If you don't know and apparently don't care about the place of the
item, why are you even using an array? Use a hash and "delete
$hash{3}" (for example) to remove the key called "3" (and its value)
from the hash.

-- 
Offer Kaye



More information about the Perl mailing list