X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F03_MoreCatalystBasics.pod;h=4a96d18921cb230c697549271e62320ea1000c3d;hp=904959c7090ad2be468bc8c9a49ad1efa4500cde;hb=1dc333c7b1dbb2334c1a263f5c19e6191f5562a8;hpb=513ae34af19a0b2d71231427093837631b06b5c3 diff --git a/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod index 904959c..4a96d18 100644 --- a/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod @@ -200,20 +200,22 @@ For our application, we want to add one new plugin into the mix. To do this, edit C (this file is generally referred to as your I) and delete the lines with: - use Catalyst qw/-Debug - ConfigLoader - Static::Simple/; + use Catalyst qw/ + -Debug + ConfigLoader + Static::Simple + /; Then replace it with: # Load plugins use Catalyst qw/ - -Debug - ConfigLoader - Static::Simple - - StackTrace - /; + -Debug + ConfigLoader + Static::Simple + + StackTrace + /; B Recent versions of C have used a variety of techniques to load these plugins/flags. For example, you might see @@ -233,7 +235,7 @@ browser, not in the console window from which you're running your application, which is where logging output usually goes. Make sure when adding new plugins you also include them as a new -dependancy within the Makefile.PL file. For example, after adding +dependency within the Makefile.PL file. For example, after adding the StackTrace plugin the Makefile.PL should include the following line: @@ -563,9 +565,6 @@ In this step, we make a text file with the required SQL commands to create a database table and load some sample data. We will use SQLite (L), a popular database that is lightweight and easy to use. Be sure to get at least version 3. Open -create a database table and load some sample data. We will use -L, a popular database that is -lightweight and easy to use. Be sure to get at least version 3. Open C in your editor and enter: --