X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F07_Debugging.pod;h=e440945b44e463c70b5b09fca8d1bbad28c06998;hb=b9e431e31e8cbd4efc46e4270098567faf7e4f29;hp=0ca6d5d4c4035b877a5297847e16011237a0d757;hpb=ddfbd8506f744fe1dc407bdaa7a1e9211b2dd1d7;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod index 0ca6d5d..e440945 100644 --- a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod @@ -125,7 +125,7 @@ you can obviously indent them if you prefer): my ($self, $c) = @_; $DB::single=1; - + # Retrieve all of the book records as book model objects and store in the # stash where they can be accessed by the TT template $c->stash->{books} = [$c->model('DB::Book')->all]; @@ -288,7 +288,7 @@ copy of an installed module: mkdir -p lib/Module; cp `perldoc -l Module::Name` lib/Module/ -Note: If you are following along in Debian 5 or Ubuntu, you will +Note: If you are following along in Debian 6 or Ubuntu, you will need to install the C package to use the C command. Use C to do that. @@ -348,7 +348,7 @@ Otherwise, it returns undef and nothing will be printed. If you run into issues during the rendering of your template, it might be helpful to enable TT C options. You can do this in a Catalyst environment by adding a C line to the C<__PACKAGE__->config> -declaration in C: +declaration in C: __PACKAGE__->config({ TEMPLATE_EXTENSION => '.tt2', @@ -372,9 +372,13 @@ Happy debugging. Kennedy Clark, C -Please report any errors, issues or suggestions to the author. The -most recent version of the Catalyst Tutorial can be found at +Feel free to contact the author for any errors or suggestions, but the +best way to report issues is via the CPAN RT Bug system at +. + +The most recent version of the Catalyst Tutorial can be found at L. -Copyright 2006-2008, Kennedy Clark, under Creative Commons License +Copyright 2006-2010, Kennedy Clark, under the +Creative Commons Attribution Share-Alike License Version 3.0 (L).