From: hkclark Date: Mon, 29 Aug 2011 17:00:51 +0000 (-0400) Subject: Misc minor updates X-Git-Tag: 5.9003~25^2~52 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=6bd343899559c5504700854f7c9f607eea8c686a Misc minor updates --- diff --git a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod index eb73460..3808ec0 100644 --- a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod @@ -170,7 +170,7 @@ directories and files it creates: Catalyst will "auto-discover" modules in the Controller, Model, and View -directories. When you use the hello_create.pl script it will create Perl +directories. When you use the C script it will create Perl module scaffolds in those directories, plus test files in the "t" directory. The default location for templates is in the "root" directory. The scripts in the script directory will always start with @@ -231,7 +231,7 @@ C to breakout of the dev server) if you prefer. | / | /default | '-------------------------------------+--------------------------------------' - [info] Hello powered by Catalyst 5.80020 + [info] Hello powered by Catalyst 5.80025 You can connect to your server at http://debian:3000 Point your web browser to L (substituting a @@ -510,18 +510,20 @@ default naming convention). We've also put the variable "username" into the stash, for use in the template. -Make a subdirectory "site" in the "root" directory. Copy the hello.tt -file into the directory as C, or create a new -template file at that location. Include a line like: +Make a subdirectory "site" in the "root" directory. -

Hello, [% username %]!

+ $ mkdir root/site + +Create a new template file in that direction named C +and include a line like: -You should see your test.tt file displayed, including the name "John" -that you set in the controller. +

Hello, [% username %]!

Once the server automatically restarts, notice in the server output that C is listed in the Loaded Path actions. Go to -L in your browser. +L in your browser and you should see +your test.tt file displayed, including the name "John" that you set in +the controller. =head1 AUTHORS