[Catalyst] Forward with arguments.

Marcus Ramberg marcus at thefeed.no
Fri Jun 24 14:50:16 CEST 2005


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/]);

It will also set $c->req->args to the new value until it returns. At 
that point the original values will be restored.

Enjoy.

Marcus



More information about the Catalyst mailing list