in reply to Re^2: Example in Cookbook of hash of hash
in thread Example in Cookbook of hash of hash

Are you asking about my %byname;?

Replies are listed 'Best First'.
Re^4: Example in Cookbook of hash of hash
by theantler (Beadle) on Mar 26, 2010 at 19:26 UTC
    Ikegami, I am confused about
    { $byname{ $record->{NAME} } = $record; }
    Is it part of a for loop?
      The "{ }" are part of the loop syntax. The middle line is the body of the loop. It's what's executed for each pass of the loop.