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?
foreach $k (keys %list) {
print "$k=$list{$k}\n";
}
Thanks
--Chuck
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
