Put back in leading spaces to keep code blocks contiguous
[catagits/Catalyst-Manual.git] / lib / Catalyst / Manual / Tutorial / 07_Debugging.pod
index eec897b..510a097 100644 (file)
@@ -80,11 +80,11 @@ Catalyst is able to easily accommodate both styles of debugging.
 =head1 LOG STATEMENTS
 
 Folks in the former group can use Catalyst's C<$c-E<gt>log> facility. 
-(See L<Catalyst::Log|Catalyst::Log> for more detail.) For example, if 
+(See L<Catalyst::Log> for more detail.) For example, if 
 you add the following code to a controller action method:
 
     $c->log->info("Starting the foreach loop here");
-
+    
     $c->log->debug("Value of \$id is: ".$id);
 
 Then the Catalyst development server will display your message along
@@ -103,7 +103,7 @@ severity/importance):
     $c->log->error
     $c->log->fatal
 
-You can also use L<Data::Dumper|Data::Dumper> in both Catalyst code 
+You can also use L<Data::Dumper> in both Catalyst code 
 (C<use Data::Dumper; $c-E<gt>log-E<gt>debug("\$var is: ".Dumper($var));)>) 
 and TT templates (C<[% Dumper.dump(book) %]>.
 
@@ -129,7 +129,7 @@ you can obviously indent them if you prefer):
         # 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];
-            
+    
         # Set the TT template to use.  You will almost always want to do this
         # in your action methods.
         $c->stash->{template} = 'books/list.tt2';
@@ -288,12 +288,12 @@ 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<perl-doc> package to use the C<perldoc> command.  
 Use C<sudo aptitude install perl-doc> to do that.
 
 For example, you could make a copy of 
-L<Catalyst::Plugin::Authentication|Catalyst::Plugin::Authentication>
+L<Catalyst::Plugin::Authentication>
 with the following command:
 
     mkdir -p lib/Catalyst/Plugin; cp \
@@ -357,7 +357,7 @@ declaration in C<lib/MyApp/View/HTML.pm>:
 
 There are a variety of options you can use, such as 'undef', 'all', 
 'service', 'context', 'parser' and 'provider'.  See 
-L<Template::Constants|Template::Constants> for more information 
+L<Template::Constants> for more information 
 (remove the C<DEBUG_> portion of the name shown in the TT docs and 
 convert to lower case for use inside Catalyst).
 
@@ -372,9 +372,13 @@ Happy debugging.
 
 Kennedy Clark, C<hkclark@gmail.com>
 
-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
+<https://rt.cpan.org/Public/Dist/Display.html?Name=Catalyst-Manual>.
+
+The most recent version of the Catalyst Tutorial can be found at
 L<http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/>.
 
-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<http://creativecommons.org/licenses/by-sa/3.0/us/>).