Afaik should delete return the deleted value, such that you can do it in a one-liner
Otoh no need to delete when writing a new hash.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^2: inverting keys in a 2-D Hash
by LanX
in thread inverting keys in a 2-D Hash
by melmoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |