[Catalyst] Forward with arguments.
Drew Taylor
taylor.andrew.j at gmail.com
Fri Jun 24 16:05:41 CEST 2005
On 6/24/05, Marcus Ramberg <marcus at thefeed.no> wrote:
>
> Just to prove that we're weaklings who crumble under pressure, the
> following will now work under trunk:
>
> $c->forward('/controller/action',[qw/arg1 arg2 arg3/]);
> $c->forward(qw/Class method/,[qw/arg1 arg2 arg3/]);
Cool!
It will also set $c->req->args to the new value until it returns. At
> that point the original values will be restored.
That is a very neat trick. So when can we expect a new release? ;-)
Drew
--
----------------------------------------------------------------
Drew Taylor * Web development & consulting
Email: drew at drewtaylor.com * Site implementation & hosting
Web : www.drewtaylor.com <http://www.drewtaylor.com> *
perl/mod_perl/DBI/mysql/postgres
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20050624/5ab0f787/attachment.htm
More information about the Catalyst
mailing list