What is the point of this code line, since $HASH{keyB} probably doesn't exist?delete $HASH{keyB};
Personally, I would prefer, if possible, to make a copy of the original hash.
In reply to Re^2: inverting keys in a 2-D Hash
by Laurent_R
in thread inverting keys in a 2-D Hash
by melmoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |