X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=0ea132b0b6e89184caccfe21a3711302be3e4e2f;hp=62615c6d2b559533d9bd355e36e4ee0c441195d5;hb=e197ea5425199a044e43cb89c2cd5dcbc984c825;hpb=38c68f3d599ba1dfb29e9429467edf877356b3c4 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.