X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FCatalystBasics.pod;h=98d61616eedcba37259cd84995a155f708cc46c3;hb=4e4cae820e184418dfcae2b388f2bd4e223532cc;hp=ee43d241022dfb550ea3b12d1048d5a2cbda222b;hpb=7dcf16506e5e8f0d412db0bd31ed7db153b09bab;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod index ee43d24..98d6161 100644 --- a/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod @@ -411,7 +411,7 @@ sources"; see L). In this case, we want to load the model object for the C, C, and C tables created in the previous step. -Open C in your editor and insert: +Create C in your editor and insert: package MyAppDB; @@ -457,7 +457,7 @@ First, create a directory to hold the class: $ mkdir lib/MyAppDB -Then open C in your editor and enter: +Then create C in your editor and enter: package MyAppDB::Book; @@ -520,7 +520,7 @@ us to use the shorter C<$book-Eauthors-Efirst-Elast_name>. Note that you cannot define a C relationship without also having the C relationship in place. -Next, open C in your editor and enter: +Next, create C in your editor and enter: package MyAppDB::Author; @@ -572,7 +572,7 @@ Next, open C in your editor and enter: 1; -Finally, open C in your editor and enter: +Finally, create C in your editor and enter: package MyAppDB::BookAuthor; @@ -969,7 +969,7 @@ First create a directory for book-related TT templates: $ mkdir root/src/books -Then open C in your editor and enter: +Then create C in your editor and enter: [% # This is a TT comment. The '-' at the end "chomps" the newline. You won't -%] [% # see this "chomping" in your browser because HTML ignores blank lines, but -%]