in reply to Re^2: Logical/defined or as lvalue
in thread Logical/defined or as lvalue

If I wanted to do this, I'd count only in one hash and use a hash-slice to extract the "given" ones.

Less code and more flexible.

Update

Alternatively a HoH where the first key decides what is given or rest.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery