X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F07_Debugging.pod;h=0ca6d5d4c4035b877a5297847e16011237a0d757;hp=09c8dbe26df9a50fd84af8194f04a988a6d713a0;hb=ddfbd8506f744fe1dc407bdaa7a1e9211b2dd1d7;hpb=3ab6187c1a123983b6ae29e57f543328ce15755c diff --git a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod index 09c8dbe..0ca6d5d 100644 --- a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod @@ -93,7 +93,7 @@ template view use: [% c.log.debug("This is a test log message") %] -As with many other logging facilities, you a method is defined for +As with many other logging facilities, a method is defined for each of the following "logging levels" (in increasing order of severity/importance): @@ -118,7 +118,7 @@ C line as follows inside the C method (I like to "left-justify" my debug statements so I don't forget to remove them, but you can obviously indent them if you prefer): - sub list : Local { + sub list :Local { # Retrieve the usual Perl OO '$self' for this object. $c is the Catalyst # 'Context' that's used to 'glue together' the various components # that make up the application @@ -311,7 +311,7 @@ debugging: Check the version of an installed module: - perl -MEmod_nameE -e '"print $Emod_nameE::VERSION\n"' + perl -M -e 'print "$::VERSION\n"' For example: @@ -374,7 +374,7 @@ 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 -L. +L. Copyright 2006-2008, Kennedy Clark, under Creative Commons License (L).