Matt S Trout wrote:

On 1 Feb 2007, at 17:37, John Napiorkowski wrote:
Hmm, interesting point.  I'm going to go and try
writing something that trys to modify the
ActionContainer and see what happens! --john

You'd be better screwing with $c->action, I think. Something like

if ($c->stack->[-1] eq $c->action->chain->[-1]) {
  # we're in the last action in the chain
I remember you helping me with a little blog post on a similar subject:

http://use.perl.org/~LTjake/journal/30656

if( $c->action eq $c->stack->[ -1 ] ) {
   # We've not been forwarded yet
}

-Brian

_______________________________________________
List: Catalyst@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/

Reply via email to