From: Graham Knop Date: Wed, 28 Mar 2018 02:25:59 +0000 (+0200) Subject: fix some pod formatting code errors X-Git-Tag: v5.90118~30 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=e197ea5425199a044e43cb89c2cd5dcbc984c825 fix some pod formatting code errors --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 62615c6..0ea132b 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1769,7 +1769,7 @@ and it will create the URI /users/the-list. =item \@captures_and_args? -Optional array reference of Captures (i.e. C<req->captures>) +Optional array reference of Captures (i.e. C or C<< $c->req->captures >>) and arguments to the request. Usually used with L to interpolate all the parameters in the URI. @@ -3252,7 +3252,7 @@ component or component object. Example: my $config = MyApp->config_for('MyApp::Model::Foo'); -In this case $config is the hashref C< {a=>1, b=>2} >. +In this case $config is the hashref C<< {a=>1, b=>2} >>. This is also handy for looking up configuration for a plugin, to make sure you follow existing L standards for where a plugin should put its configuration. @@ -4095,7 +4095,7 @@ L, but can be set otherwise with L<< stats_class|/"$c->stats_class" >>. Even if L<< -Stats|/"-Stats" >> is not enabled, the stats object is still -available. By enabling it with C< $c->stats->enabled(1) >, it can be used to +available. By enabling it with C<< $c->stats->enabled(1) >>, it can be used to profile explicitly, although MyApp.pm still won't profile nor output anything by itself.