Tom Christiansen <[EMAIL PROTECTED]> writes:

>     keys %HASH = LIST;
> 
> is really
> 
>     @HASH{ LIST } = ();

Hmm, is it?
I'd expect the first form to set the keys, meaning that the hash will
have _only_ the indicated keys.
The second form will only add the keys, making sure they exist, and
not affect other, already existing keys.
One can wonder what should happen to the values of existing keys.

-- Johan

Reply via email to