> Just want to reiterate the point that if we can change the value of a > key, we should be able to delete the key *and* reinstate it. > > my %hash = (a => 1, b => 2); > readonly %hash; > $hash{a} = "foo"; > delete $hash{a}; > $hash{a} = "bar"; Probably a newbie type question, but: Why would you want to do this, when you can simply say: $hash{a}="foo"; $hash{a}="bar"; and get the same affect? It seems to me that it would be much more expensive to delete the key between the assignments... I'd say clamped is clamped, and you can't delete the key if it's clamped. -ScottThread Previous | Thread Next