From: Hans Dieter Pearcey Date: Sat, 25 Apr 2009 05:15:31 +0000 (+0000) Subject: doc tweaks: use C<> instead of "", use 'overridden' instead of 'overloaded' X-Git-Tag: 5.80003~33 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8eae92ad64136956fabed844f64c3da865556bea doc tweaks: use C<> instead of "", use 'overridden' instead of 'overloaded' --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 537cae1..f504e0c 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -877,11 +877,11 @@ You can enable debug mode in several ways: =item The -Debug option in your MyApp.pm -=item By declaring "sub debug { 1 }" in your MyApp.pm. +=item By declaring C in your MyApp.pm. =back -Calling $c->debug(1) has no effect. +Calling C<< $c->debug(1) >> has no effect. =cut @@ -2519,8 +2519,8 @@ Returns 1 when stats collection is enabled. Stats collection is enabled when the -Stats options is set, debug is on or when the _STATS environment variable is set. -Note that this is a static method, not an accessor and should be overloaded -by declaring "sub use_stats { 1 }" in your MyApp.pm, not by calling $c->use_stats(1). +Note that this is a static method, not an accessor and should be overridden +by declaring C in your MyApp.pm, not by calling C<< $c->use_stats(1) >>. =cut