[Catalyst] sample code for feedback

Marcus Ramberg marcus at thefeed.no
Thu Jun 23 22:45:31 CEST 2005


Perrin Harkins skrev:

>On Thu, 2005-06-23 at 22:35 +0200, Jose Nyimi wrote:
>  
>
>>Indeed, the first think that bother my eyes was the
>>$self->view( $c, $c->req()->param('petition_id') ); call.
>>For the purpose of showing the alternative, I would be putting
>>in comment the forwarding Cat's style.
>>    
>>
>
>I would, if it supported passing parameters.
>  
>
Hi Perrin.
I usually do this:
$c->req->args([qw/arg1 arg2 arg3/);
$c->forward('/werever');

That way, args are preserved for the next forward too

Marcus



More information about the Catalyst mailing list