Errata

Perl 6 Essentials

Errata for Perl 6 Essentials

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 52

The offending text is:

--
for 1..4 {
NEXT { print " potato, "; }
LAST { print "." }
print;

}
Between each iteration, the NEXT block executes, printing "potato". At the end of the
final iteration, the LAST block prints a period. So the final result is "1 potato, 2
potato, 3 potato, 4".
--

The typo is that the full stop should be within the quotes in the final sentence, as
it is added to the output by by the "LAST" instruction.

Anonymous   
Printed
Page 55
last line on page

namedparams(third => 'Trillian', first => $name);
Should be:
namedparams(third => $name, first => 'Trillian');

Anonymous   
Printed
Page 66
Footnote

Change:
everwhere
to:
everywhere

Anonymous   
Printed
Page 67
code at top of page

Change:
sub secondsub {
mysub('arg'); # call the subroutine
to:
sub secondsub {
firstsub('arg'); # call the subroutine

Anonymous   
Printed
Page 115
lowest code sample

The top line of the code sample,

et_addr I0, L1

should be

set_addr I0, L1

Anonymous   
Printed
Page 183
4th paragraph

Change:
the noninterpolating (<<"CODE") form of here-documents
to:
the noninterpolating (<<'CODE') form of here-documents

Anonymous