startsiden/startsiden-playpen — comment on commit 0c648ef96e050c0638af1b448d87ab868c778133
File: BuySell/root/src/items/list_item_by_user.tt line 4
By zdk:

I think the more efficient way is to pass the ResultSet directly to TT and iterate over it in the template.

in Controller
```$c->stash->{items} = $rs;```

and then in template

```
[% WHILE (item = items.next) -%]
[% END -%]
```