>>>>> "NGW" == Noah Garrett Wallach <noah-l...@enabled.com> writes:

  NGW> I am trying to figure out how to use hash of hashes properly. can
  NGW> values and keys be at the same level?

no. any level can have one key of a given string, that is how hashes are
defined. if you need more than one thing, you need to make another level.

no one has said this yet and it should be the first thing mentioned when
newbies are starting out with data trees (as i call these). read perldoc
perldsc and perllol. those are classic docs covering this very
topic. also read perldoc perlreftut and then when you are more
confident, perlref (the reference doc on references).

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to