Re: trouble with stringify

[prev] [thread] [next] [Date index for 2005/04/25]

From: Perrin Harkins
Subject: Re: trouble with stringify
Date: 05:24 on 25 Apr 2005
On Sun, 2005-04-24 at 22:15 -0700, Randal L. Schwartz wrote:
> Ahh, but it's so convenient to simply say:
> 
>         [% FOR role IN actor.roles %]
>         [% role.film %] (released in [% role.film.year %])
>         [% END %]
> 
> The first gets the stringified film.  The second uses role.film
> in its object sense to get the rest of the data for that film:
> in this case, the year.

Neat, but I prefer the less sneaky version that just calls
role.film.name to get the name.  Then I don't get confused about which
object the name is in.

- Perrin

(message missing)

trouble with stringify
merlyn (Randal L. Schwartz) 23:56 on 24 Apr 2005

Re: trouble with stringify
Perrin Harkins 01:09 on 25 Apr 2005

Re: trouble with stringify
merlyn (Randal L. Schwartz) 04:53 on 25 Apr 2005

Re: trouble with stringify
Perrin Harkins 05:10 on 25 Apr 2005

Re: trouble with stringify
merlyn (Randal L. Schwartz) 05:15 on 25 Apr 2005

Re: trouble with stringify
Perrin Harkins 05:24 on 25 Apr 2005

Re: trouble with stringify
merlyn (Randal L. Schwartz) 05:26 on 25 Apr 2005

Re: trouble with stringify
Tony Bowden 08:46 on 25 Apr 2005

Generated at 09:29 on 27 Apr 2005 by mariachi v0.52