in reply to Re^2: hash with both values and keys unique to each other
in thread hash with both values and keys unique to each other

Since your structure is

loop { if (condition) { next; } # no else! other code; }

You don't actually need the else block. Removing it will make your code look quite a bit more clean.