[Catalyst-commits] r9828 - Catalyst-Runtime/5.80/trunk/lib

hdp at dev.catalyst.perl.org hdp at dev.catalyst.perl.org
Sat Apr 25 05:15:31 GMT 2009


Author: hdp
Date: 2009-04-25 06:15:31 +0100 (Sat, 25 Apr 2009)
New Revision: 9828

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
Log:
doc tweaks: use C<> instead of "", use 'overridden' instead of 'overloaded'

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm	2009-04-24 17:08:11 UTC (rev 9827)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm	2009-04-25 05:15:31 UTC (rev 9828)
@@ -877,11 +877,11 @@
 
 =item The -Debug option in your MyApp.pm
 
-=item By declaring "sub debug { 1 }" in your MyApp.pm.
+=item By declaring C<sub debug { 1 }> 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 @@
 when the -Stats options is set, debug is on or when the <MYAPP>_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<sub use_stats { 1 }> in your MyApp.pm, not by calling C<< $c->use_stats(1) >>.
 
 =cut
 




More information about the Catalyst-commits mailing list