[Catalyst] Chained('.') counter-intuitive?

John Napiorkowski jjn1056 at yahoo.com
Fri Nov 10 13:41:20 GMT 2006


Action chains are a type of dispatching strategy:
http://www.annocpan.org/~MRAMBERG/Catalyst-Runtime-5.7005/lib/Catalyst/DispatchType/Chained.pm

Makes it easy to dispatch through some controllers.

--john

--- Josef Karthauser <joe at tao.org.uk> wrote:

> On Fri, Nov 10, 2006 at 12:42:03PM +0000, Pedro Melo
> wrote:
> > 
> > sub films  : Chained          CaptureArgs(1) {}
> > sub view   : Chained('films') Args(0)        {}
> > sub delete : Chained('films') Args(0)        {}
> > 
> 
> Ooh, am I missing a trick here?  What are chained
> action?  I've been
> chaining actions together using $c->forward().  Is
> this the same kind of
> thing, or something altogether different?
> 
> Joe
> -- 
> Josef Karthauser (joe at tao.org.uk)	      
> http://www.josef-k.net/
> Physics Particle Theory (student)  
> http://www.pact.cpes.sussex.ac.uk/
> ================ An eclectic mix of fact and theory.
> =================
> > _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
>
http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
> 



 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



More information about the Catalyst mailing list