prepared for 03
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Manual / Tutorial / Appendices.pod
index efd4df0..1025640 100644 (file)
@@ -80,7 +80,7 @@ C<0>, to the last line, C<$>).
 
 =item * 
 
-"%$s/^    "
+"%s/^    "
 
 A shortcut for the previous item (C<%> specifies the entire file; so
 this removes four leading spaces from every line).
@@ -103,7 +103,7 @@ Removes four leading space from the current line through line 44
 
 =head2 "Un-indenting" with Emacs
 
-Although there author has not used emacs for many years (appologies to 
+Although there author has not used emacs for many years (apologies to 
 the emacs fans out there), here is a quick hint to get you started.  To
 replace the leading spaces of every line in a file, use:
 
@@ -216,7 +216,7 @@ Open the C<myapp01_mysql.sql> in your editor and enter:
     DROP TABLE IF EXISTS book_authors;
     DROP TABLE IF EXISTS authors;
     CREATE TABLE books (
-           id          INT(11) PRIMARY KEY,
+           id          INT(11) PRIMARY KEY AUTO_INCREMENT,
            title       TEXT ,
            rating      INT(11)
     );
@@ -227,7 +227,7 @@ Open the C<myapp01_mysql.sql> in your editor and enter:
            PRIMARY KEY (book_id, author_id)
     );
     CREATE TABLE authors (
-           id          INT(11) PRIMARY KEY,
+           id          INT(11) PRIMARY KEY AUTO_INCREMENT,
            first_name  TEXT,
            last_name   TEXT
     );
@@ -466,7 +466,7 @@ not expose the passwords to "capture" on the command line.
 Kennedy Clark, C<hkclark@gmail.com>
 
 Please report any errors, issues or suggestions to the author.  The
-most recent version of the Catlayst Tutorial can be found at
+most recent version of the Catalyst Tutorial can be found at
 L<http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Runtime/lib/Catalyst/Manual/Tutorial/>.
 
 Copyright 2006, Kennedy Clark, under Creative Commons License