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,@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/ +
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/