[Catalyst] sample code for feedback

Sebastian Riedel sri at oook.de
Fri Jun 24 00:11:10 CEST 2005


Am 23.06.2005 um 23:08 schrieb Marcus Ramberg:

>>
>>
>>
>>>> at way, args are preserved for the next forward too
>>>>
>>>>
>>> That's what I've resorted to also, but it feels pretty hackish to  
>>> me.
>>>
>>>
>>
>> it feels hackish to me too :)
>>
>>
> Damnit. Are you hackers or are you mice?

And don't forget how easy it is to write a plugin... ;P

sub my_forward {
     my ( $c, $forward, @args ) = @;
     $c->req->args(@args);
     $c->forward($forward);
}


--
sebastian




More information about the Catalyst mailing list