[Catalyst] [Announce] Catalyst-Runtime 5.7099_01 - Developer Release

Matt S Trout dbix-class at trout.me.uk
Sun Jul 20 01:13:20 BST 2008


On Thu, Jun 26, 2008 at 06:50:58PM -0400, Charles Bailey wrote:
> On Wed, Jun 25, 2008 at 4:57 PM, Marcus Ramberg <marcus at nordaaker.com> wrote:
> >
> > The feature to note here is 'go', which works like an internal redispatch to
> > another action, while retaining the stash intact. Being able to do this
> > means that in practice you don't ever need to set the template name in
> > stash, but can depend on using go when you want to render the template of
> > the other action, rather than the one you dispatched to.
> 
> Would it make sense to include a function analogous to forward() (say,
> "visit()") in the same way that go() is analogous to detach()?  Seems
> like it'd be a nice way to "wrap" an action that uses auto() or end()
> in its controller to handle tasks common to several actions there.

Maybe. How about doing up a patch for catalyst-dev@ ?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list