close


Errata for Catalyst print this errata


page 9 Typo 26 Jun 08
In the first line under the heading CPAN,'pacakges' should read 'packages'.
 
page 13 10 Jun 08
An extra node in the path: created "MyApp/"MyApp/script" should be: created "MyApp/script"
 
page 22 code 01 Feb 08
There is an unnecessary space between the quote and http in 'xmlns=" http://...'
 
page 24 text 07 Mar 08
In the fifth paragraph,'(a final listing to check against what appears at the end of this section)' should have 'what' removed from the sentence.
 
page 30 text 07 Mar 08
second paragraph, second line_'entires' should be 'entries'.
 
page 33 text 07 Mar 08
comma in 'This will also allow functionality, like...' should be removed
 
page 35 Technical 15 Jul 08
'We do need to add one line to the bottom of the file manually.' If you do that then the test throws an error. What was meant to say was 'before the 1; at the bottom of the file' or something similar.
 
page 36 text 07 Mar 08
'belongs-to relation' should be 'belongs-to'
 
page 37 Technical 10 Jun 08
Under the heading TTSite there is no mention of adding CATALYST_VAR => 'Catalyst', to __PACKAGE__->config in /lib/AddressBook/View/HTML.pm (the same spot the book tells us all we need to add is TEMPLATE_EXTENSION => '.tt2', before the TIMER => 0 line).
 
page 44 text 07 Mar 08
second line: 'controller' should be 'Controller'
 
page 44 code 25 Apr 08
In the /root/src/person/edit.tt2 code, it has to be '[% FormBuilder.render %]' instead '[% form.render %]'.
 
page 45 code 01 Feb 08
$c->form should read $self->formbuilder throughout
 
page 47 code 25 Apr 08
Instead of[% form.render %] it should be [% FormBuilder.render %]
 
page 48 code 25 Apr 08
Catalyst::Controller::BindLex') should be Catalyst::Controller::BindLex)
 
page 49 code 01 Feb 08
$c->form should read $self->formbuilder throughout.
 
page 53 Language 23 May 08
bottom of the page ... "just rename the config file have an extension" should be "just rename the config file to have an extension"
 
page 54 10 Jun 08
Bottom middle of page ... "To get at the from inside" should be "To get at the form inside"
 
page 67 10 Jun 08
there's an extra blank line in the code example (sub search_names)... return $c->model('AddressDB::People')-> search(\@people_fields);
 
page 69 text 04 Feb 08
4th line. 'res,' should be'req.'.
 
page 78 code 15 Jul 08
The best way to use the authorization plugin (since it's been rewritten after the release of the book) is to do as suggested. In the following lines : __PACKAGE__->config->{authentication}{dbic} = user_class => 'AddressDB::User', user_field => 'username', password_type => 'clear', # use salted-hash for real applications } there should be the following line above password_type: password_field => 'password', It works as written in the book too (as a compatibility layer built in to the new plugin).
 
page 85 code 25 Apr 08
It should be '$ perl script/chatstat_create.pl model DBIC ... dbi:SQLite:root/database' instead of '$ perl script/app_ircxory_create.pl_create.pl model DBIC ... DBI:SQLite:root/database'
 
page 88 text 04 Feb 08
'dynamically added data'should be 'dynamically adding data'.
 
page 100 text 04 Feb 08
"person's information people" should be "person's information page".
 
page 128 text 04 Feb 08
'(things like...') should be '(before things like...').
 
page 139 code 04 Feb 08
5th line_$c->request->data to be $c->req->data.
 
page 150 text 04 Feb 08
'edit form, firebug' perhaps to be 'edit form, with firebug'.
 
page 150 text 04 Feb 08
'showing AJAX' perhaps to be 'showing the AJAX'.
 
page 155 text 07 Mar 08
'On the other end, the spectrum' should be 'The other end of the spectrum'
 
page 155 text 07 Mar 08
'but you, still' should be 'but you still'
 
page 156 text 07 Mar 08
the last sentence of the first paragraph_'Even though it seems like do actually you're wasting time' should read 'Even though it seems like you're wasting time'
 
page 157 code 01 Feb 08
"Test::More.Test::More" should read "Test::More"
 
page 177 text 07 Mar 08
'parl, not Perl' should be 'parl, not perl'
 
page 178 code 01 Feb 08
"'hostname'" should read "`hostname`" (backticks instead of single quotes).