[Catalyst] $c->visit without calling end()

Bill Crawford billcrawford1970 at gmail.com
Mon Nov 15 13:11:30 GMT 2010

On 13 November 2010 02:54, Bill Moseley <moseley at 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?

$c->visit( $action [, \@captures, \@arguments ] )
$c->visit( $class, $method, [, \@captures, \@arguments ] )
Almost the same as forward, but does a full dispatch, instead of just
calling the new $action / $class->$method. This means that begin, auto
and the method you go to are called, just like a new request.

More information about the Catalyst mailing list