[Catalyst] Another RFC. $c->call()

Matt S Trout dbix-class at trout.me.uk
Thu Apr 13 16:36:59 CEST 2006


Marcus Ramberg wrote:
> On 4/13/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
>> That would be the general idea, yes :)
>>
>> Bugger, everybody seems in favour. Does that mean I'm going to have to
>> implement it?
> 
> Would it also work like forward ?
> 
> $c->action('/some/action'); # forwards to /some/action and sets $c->action ?
> 
> If so I'm all for, and you get to implement it ;-)

No, you'd do it in an auto() and then Catalyst would dispatch to /some/action 
instead of what it was originally going to dispatch to.

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list