The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
$users{$rec->{name}} = \%rec;
[Originally posted by gkahn]

On page 74 you assign each users record to the %users hash like this:

$users{$rec->{name}} = \%rec;

Shouldn't it be;

$users{$rec{name}} = \%rec;

???

BTW - I am really enjoying your book,
it is filled with tons of useful information.
(My girlfriend is running around saying "Munge, Munge, Munge" )
Thank you for taking the time to write it.
import-bot (20211) [Avatar] Offline
#2
Re: $users{$rec->{name}} = \%rec;
[Originally posted by dave]

> On page 74 you assign each users record to the %users hash like this:
>
> $users{$rec->{name}} = \%rec;
>
> Shouldn't it be;
>
> $users{$rec{name}} = \%rec;
>
> ???

Gary,

You're absolutely right. I'll get this listed in the errata. Thanks.

> BTW - I am really enjoying your book,
> it is filled with tons of useful information.

Thank you very much.

> (My girlfriend is running around saying "Munge, Munge, Munge" )

I'm not entirely sure how to take that smilie

Thanks for posting,

Dave...