[Catalyst] detach behaviour clarification

Geoff Flarity geoff.flarity at gmail.com
Thu Nov 1 19:00:34 GMT 2007


I'm sorry but I don't quite follow. Using '_three' is different than
'three'?

Geff



> > }
> >
> > sub three : Private {
> >  my ($self, $c ) =3D @_;
> >  $c->stash->{template} =3D '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: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20071101/a1e5c=
d7e/attachment.htm


More information about the Catalyst mailing list