From: Jess Robinson Date: Sun, 15 Jan 2006 15:51:45 +0000 (+0000) Subject: "forward" docs updated X-Git-Tag: 5.7099_04~747 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=3b984c64196cb49250fa2d2b52033eb20245d948;hp=9e7673af3a03f61edd17142d1ebfd415119e48be "forward" docs updated --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 179c7ac..8896db6 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -246,7 +246,10 @@ in an arrayref. The action will receive the arguments in C<@_> and C<$c-Ereq-Eargs>. Upon returning from the function, C<$c-Ereq-Eargs> will be restored to the previous values. - $c->forward('/foo'); +Any data Ced from the action forwarded to, will be returned by the +call to to forward. + + my $foodata = $c->forward('/foo'); $c->forward('index'); $c->forward(qw/MyApp::Model::CDBI::Foo do_stuff/); $c->forward('MyApp::View::TT');