in reply to Arbitrarily Nested HoH

I'd make the second argument optional, so that the initial call to your subroutine is as simple as it could be.