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

Matt S Trout dbix-class at trout.me.uk
Thu Apr 13 01:52:53 CEST 2006


Bill Moseley wrote:
> On Wed, Apr 12, 2006 at 06:35:33PM +0100, Matt S Trout wrote:
>> Marcus Ramberg wrote:
>>> Please check out
>>>
>>> http://marcusramberg.livejournal.com/12301.html
>> The more I think about it the more I'd just like
>>
>> $c->action('/foo/bar');
>>
>> to go away and find that action, set $c->action to that if it exists, or die 
>> screaming otherwise.
> 
> And  $c->action->namespace would still work.

That would be the general idea, yes :)

Bugger, everybody seems in favour. Does that mean I'm going to have to 
implement it?

-- 
      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