* Bill Crawford <billcrawford1...@gmail.com> [2010-11-15 14:20]:
> On 13 November 2010 02:54, Bill Moseley <mose...@hank.org> wrote:
> > Any tricks to do a $c->visit type of call but w/o doing
> > a full dispatch, that is, without calling the auto and end
> > actions?
>
> Doesn't $c->forward(...) do exactly that? Or have I completely
> misunderstood the docs?

No, `forward` does not do a full redispatch. Most importantly,
if you’re using chains in your app, then `visit` will walk the
entire chain to the action you passed and call those actions
(as well as all the `begin` and `auto` actions along the way),
while `forward` will only call the action itself.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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

Reply via email to