in reply to Populating a nested hash with itself?

I could swear I saw this exact question a few days ago.

Short version: The contents you're assigning aren't in the hash until after the assignment %hash = ( ... ) is done. Thus, you'll have to build it up in steps if you want to build some hash keys relative to the assigned hash.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^2: Populating a nested hash with itself?
by jhourcle (Prior) on Jul 06, 2005 at 17:52 UTC