http://www.perlmonks.org?node_id=1057106


in reply to Re: hash of hashes
in thread hash of hashes

Excellent question. Looking forward to the answer from OP.

Looks to me like the format for file 1 is:

{fruit} { {color 1} {...color n} }

It looks like the format for file 2 is:

{color} { {fruit 1} {...fruit n} }

But that's just a guess, of course. :-)