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.
| Version |
Location |
Description |
Submitted By |
Date Submitted |
Date Corrected |
| Printed |
Page 22
Example 1-9 line 12 |
my $vars should be closed with } and not ].
|
Anonymous |
|
|
| Printed |
Page 32
First example on page |
[% header('Arthur Dent', 'My Home Page') %]
should be:
[% header('My Home Page', 'Arthur Dent') %]
|
Anonymous |
|
|
| Printed |
Page 34
Paragraph below code; |
the Musciano & Kennedy book is referred to as "HTML & XML", but it should be "HTML & XHTML"
|
Anonymous |
|
|
| Printed |
Page 46
2.line and 17.line |
2 th line:
$ tpage -f ttree.cfg
Should be:
$ ttree -f ttree.cfg
17 th line
$ tpage -f dentweb
Should be:
$ ttree -f dentweb
|
Anonymous |
|
|
| Printed |
Page 66
example 2-23 |
The two "PROCESS menu..." directives should be indented by a couple
more spaces:
<table border="0">
[%
PROCESS menuitem
text = 'Earth'
link = 'earth.html';
PROCESS menuitem
text = 'Magrethea'
link = 'magrethea.html';
%]
</table>
...etc...
|
Anonymous |
|
|
| Printed |
Page 68
example 2-24 |
The final "BLOCK icon" section is indented incorrectly.
The "INCLUDE" should be indented 2 spaces inside the "BLOCK"
[% BLOCK icon
INCLUDE image
src = ...etc...
...
height=4;
END
%]
|
Anonymous |
|
|
| Printed |
Page 84
|
in Figure 3-1, the last entry of the table reads:
star [* *>
This should be:
star [* *]
|
Anonymous |
|
|
| Printed |
Page 111
Files listed in in "component" section |
The POD formatting codes F<> are visible on the file names:
A F<foo> Template
A F<footer> Template
|
Anonymous |
|
|
| Printed |
Page 114
example 3-11 |
The indenting in this example is wrong. The BLOCK items defined
inside the VIEW should be indented, as should the items defined in
the 'people' list, at the end of ex 3-11 on page 115.
|
Anonymous |
|
|
| Printed |
Page 128
push() method |
The push() method is stuck at the end of the list methods. Everything else is in
alphabetical order.
|
Anonymous |
|
|
| Printed |
Page 183
Output from Example 5-13 |
Example 5-13 shows some text that is passed through an HTML entity-izing filter, the
example is a price written in UK pounds, the pound sign in the price should be
converted to the correct HTML pound entity to demonstrate the filter.
The output of the example still shows the original pound sign instead the correct pound entity.
|
Anonymous |
|
|
| Printed |
Page 300
under 'Static Filters' |
the sentence:
Here is a simple Perl subroutine...which rot13's text
should be:
Here is a simple Perl subroutine...which rot13s text
|
Anonymous |
|
|
| Printed |
Page 398
Second paragraph of section "Simple pre-process and wrapper Templates" |
The text reads "... It sets a single variable, msg. We will be displaying this value...", but the variable in question is called "message" --- rather than "msg" --- elsewhere in the text and Examples.
Note from the Author or Editor: As described. Replace "msg" with "message".
|
Simon Dawson |
Apr 19, 2009 |
|
| Printed |
Page 402
Example 11-9 |
For consistency with example 11-6, the $* should be changed to $@, so the example
should read:
ttree -f [% dir %]/etc/ttree.cfg $@
|
Anonymous |
|
|
| Printed |
Page 420
Example 11-37 |
Example should start with:
[% META title = 'Debug Table'
about = 'Debugging page for table components'
-%]
to match output generated in figure 11-2
|
Anonymous |
|
|
| Printed |
Page 420
Listing 11-37, 2nd last line |
...
END;
END
%]
should read
...
END;
END; # insert semi-colon
%]
|
Anonymous |
|
|
| Printed |
Page 428
Example 11-44. Listing |
The previous item of an FOREACH iteration is found by loop.prev _NOT_ by loop.last.
So the example should be spelled:
# set next/last if this is the actual page
page.prev = map.page.${loop.prev};
|
Anonymous |
|
|
| Printed |
Page 464
bottom of page after </table> |
add "</p>" below the </table> tag
|
Anonymous |
|
|
| Printed |
Page 514
Example 12-35 top of page 514 |
$r->internal_redirect($url);
should be:
$r->internal_redirect($url);
return OK;
|
Anonymous |
|
|
| Printed |
Page 519 and 520
of the Template Toolkit book: |
COMPILE_EXT comes before COMPILE_DIR. They should be swapped alphabetically.
|
Anonymous |
|
|
| Printed |
Page 560
DEFAULT in index |
DEFAULT dirrective, 54 525
should be:
DEFAULT, 525
DEFAULT directive, 54
|
Anonymous |
|
|
| Printed |
Page 562
first column, under "filename" |
capitalisation:
"FIle plugin"
should be
"File plugin"
|
Anonymous |
|
|
| Printed |
Page 575
David Cross biography |
The title of David's book is given as "_Data Munging_ with Perl"; the entire title
should be in italics, not just the first two words.
|
Anonymous |
|
|
| Printed |
Page 575
Colophon, 2nd para, last sentence. |
...tree roots in their way as they digs.
should be:
...tree roots in their way as they dig.
|
Anonymous |
|
|