Hi -

On Wed, 08 Dec 2010 13:31 +0000, "Tomas Doran" <[email protected]>
wrote:
> 
> On 7 Dec 2010, at 16:11, Ben van Staveren wrote:
> 
> > You want to $c->detach('end') -- unless that's the default these  
> > days.
> 
> The end action will _always_ be run, there is no need to detach to the  
> end action.
> 
> However I'm not sure what doing $c->detach in auto will do (I guess  
> the same as returning 0 - i.e. stop further actions from running), but  
> I'm not sure - you should probably return 0 (to stop further dispatch)  
> rather than detaching in the auto action..

In situations like this I find this flow diagram helpful:

   http://dev.catalystframework.org/attachment/wiki/WikiStart/catalyst-flow.png

but I admit I am also not totally clear about how detach/go fit in...  
Maybe someone has an updated diagram (or can update this one)?


Thanks!
Larry

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to