[Catalyst] Quesion about Chaining usage

Matt S Trout dbix-class at trout.me.uk
Tue Sep 5 12:13:11 CEST 2006

Lee Standen wrote:
> I've been out of Cat development for a while, so take this with a grain 
> of salt.
> I always found you could do that by doing something like:
> myapp/C/Feedrolls.pm:
> sub default : Private {
>     my ($self,$c) = @_;
>     my($feedroll_id,$feed_id, at others) = @{$c->req->args};
> }
> Then you can do whatever you need to do with them.

Sure. But it's ugly, fragile, and you'll eventually end up with half an 
implementation of Chained hacked-up as a one-off for each of a dozen apps.

Which is what I ended up with, so I gave up and wrote Chained to save me the 
trouble ;)

      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