From: "Tomasi, Chuck" <[EMAIL PROTECTED]>
> I've got hash and I want to completely remove one or more entries from > the list. I tried undef, but that removes the value and not the key. > > %list = ( > first => 1, > second => 2, > third => 3 > ) > > How can I remove $list{second} completely so the following loop only > reports first and third? How do you delete something from a hash? Well ... erm ... you delete it. delete $list{second}; Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]