What's the point of your delete? You're assigning a completely new list to that hash in the end anyway.
It certainly doesn't seem like the "best" version to me, at least in terms of my usual metric: self-documentation.
Makeshifts last the longest.
In reply to Re^2: re-key a hash
by Aristotle
in thread re-key a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |