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
[Originally posted by ekliao]

I suspect this should be:

push @{$years{$year}}, $rec;

Please confirm.
import-bot (20211) [Avatar] Offline
#2
Re: pdf page 21: push @{$year{$year}}, $rec;
[Originally posted by dave]

> I suspect this should be:
>
> push @{$years{$year}}, $rec;
>
> Please confirm.

Eric,

Yes, you're right. I'll get this added to the errata.

Thanks,

Dave...
import-bot (20211) [Avatar] Offline
#3
Missing Quotes (was Re: pdf page 21: push @{$year{$year}}, $rec;)
[Originally posted by dave]

> In the source zip (dmp_code.zip) the file containing this example (cd_sol2.pl)
> the line from the book:
>
> print "They were:
> " ;
>
> appears as:
>
> print They were:
> ;
>
> and so chokes perl.
>
> Sorry to be a pedant, great book Though.

Chris,

Thanks for that - and perfect timing as I was just working on some errata this
evening. I've posted off a corrected file to the Manning Webmaster, so
hopefully it will appear on the web page soon.

Cheers,

Dave...

> Cheers, Chris
import-bot (20211) [Avatar] Offline
#4
Missing Quotes (was Re: pdf page 21: push @{$year{$year}}, $rec;)
[Originally posted by youngc31]

In the source zip (dmp_code.zip) the file containing this example (cd_sol2.pl)
the line from the book:

print "They were:
" ;

appears as:

print They were:
;

and so chokes perl.

Sorry to be a pedant, great book Though.

Cheers, Chris
import-bot (20211) [Avatar] Offline
#5
Missing Quotes (was Re: pdf page 21: push @{$year{$year}}, $rec;)
[Originally posted by youngc31]

Should be slashNs in my previous message (They were:slashnsmilie - the form ate
them.