my %hash = (); $hash{'jeep'}{'wrangler'} = 1; $hash{'jeep'}{'liberty'} = 1; $hash{'ford'}{'pinto'} = 1; $hash{'ford'}{'taurus'} = 1;