in reply to Re: Adding to a hash referencein thread Adding to a hash reference
The first answer looks good to me.