From: Marcus Ramberg Date: Sun, 18 Jan 2009 21:05:27 +0000 (+0000) Subject: Backport go doc bit X-Git-Tag: 5.71000~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=d69c99985ff45627af9d8eaf3f685887f82c9405;hp=ffa93d6bf08964dd7828bb00240a9c3d9408526c Backport go doc bit --- diff --git a/Changes b/Changes index 802d786..40bde40 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ # This file documents the revision history for Perl extension Catalyst. + - backport go doc patch - added ru/ua translations to error page - backport stripping build_requires diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 4098e36..f3701d6 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -336,6 +336,13 @@ Almost the same as C, but does a full dispatch, instead of just calling the new C<$action> / C<$class-E$method>. This means that C, C and the method you go to are called, just like a new request. +In addition both C<< $c->action >> and C<< $c->namespace >> are localized. +This means, for example, that $c->action methods such as C, C and +C return information for the visited action when they are invoked +within the visited action. This is different from the behavior of C +which continues to use the $c->action object from the caller action even when +invoked from the callee. + C<$c-Estash> is kept unchanged. In effect, C allows you to "wrap" another action, just as it