title: What's the right way to display a DBIx::Class ResultSet in my Catalyst project that uses Template Toolkit?
body: <p>Given a DBIx::Class resultset, for example:</p>
  
  <pre><code>my $rs = $c-&gt;model("DB::Card")-&gt;search({family_name =&gt; "Smith"});
  </code></pre>
  
  <p>the tutorials I've read use the stash to pass an arrayref of rows:</p>
  
  <pre><code>$c-&gt;stash-&gt;{cards} = [$rs-&gt;all];
  </code></pre>
  
  <p>This results in the query getting executed at this point, and the resulting objects stuffed into the stash, so they can be used in TemplateToolkit as:</p>
  
  <pre><code>[% FOREACH card IN cards %] 
      [% card.given_name %] [% card.family_name %] 
  [%END%]
  </code></pre>
  
  <p>Is there a proper way to have TT iterate over the rows as they get fetched from the DB?</p>