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

Ikegami, I am confused about
{ $byname{ $record->{NAME} } = $record; }
Is it part of a for loop?

Replies are listed 'Best First'.
Re^5: Example in Cookbook of hash of hash
by ikegami (Patriarch) on Mar 26, 2010 at 20:37 UTC
    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.