Oh, whoops, those subs should be named _two and _three, typo.
My question was really if you 'detach' during a 'forward', does the code
after the forward get called. Apparently the answer is yes.
Geoff
On 11/1/07, Geoff Flarity <[EMAIL PROTECTED]> wrote:
>
> I'm sorry but I don't quite follow. Using '_three' is different than
> 'three'?
>
> Geff
>
>
>
> > > }
> > >
> > > sub three : Private {
> > > my ($self, $c ) = @_;
> > > $c->stash->{template} = 'three.tt2';
> > > }
> > >
> > > My current understanding is that the value of template should be
> > > three.tt2. Is this correct?
> >
> > It would be if you forwarded to 'two' and detached to 'three'. You are
> > using '_two' and '_three'.
> >
> > Regards,
> > Jonathan Rockway
> >
> >
> > _______________________________________________
> > 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/
> >
> >
> >
>
_______________________________________________
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/