<font size=2 face="sans-serif">Well, I cannot seem to get anything out
of the resulset, so I'm grasping at whatever I can find. Perhaps you have
something constructive to add?</font>
<br>
<br><tt><font size=2>Rob Kinyon &lt;rob.kinyon@gmail.com&gt; wrote on 07/05/2012
11:34:23 AM:<br>
<br>
&gt; From:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Rob Kinyon &lt;rob.kinyon@gmail.com&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; To:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; &quot;DBIx::Class user and developer list&quot; &lt;dbix-class@lists.scsys.co.uk&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Date:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 07/05/2012 11:46 AM</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Subject:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Re: [Dbix-class] Problem getting data from resultset</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; On Thu, Jul 5, 2012 at 9:28 AM, Kenneth S Mclane &lt;ksmclane@us.ibm.com&gt;
wrote:<br>
&gt; &gt; I have a resultset I stuff into the stash for display. This works
fine, but<br>
&gt; &gt; I am working on exporting the data to Excel using Spreadsheet::WriteExcel.<br>
&gt; &gt; When I use $sr-&gt;result_source-&gt;columns I get a list of
the fields in the<br>
&gt; &gt; main table, but none of the columns from related tables, and
I get all the<br>
&gt; &gt; fields from that table even though I am only calling for 4 with
a &quot;columns<br>
&gt; &gt; =&gt; [list of columns]&quot;. Then when I try to iterate though
the data with<br>
&gt; &gt; $sr-&gt;next(); the server stops responding. I have scoured the
docs and cannot<br>
&gt; &gt; find any help.<br>
&gt; <br>
&gt; What do you think asking the resultsource should tell you? The<br>
&gt; resultsource is the definition of the source of the data. It doesn't<br>
&gt; change just because you only picked N columns for this specific<br>
&gt; resultset.<br>
&gt; <br>
&gt; Rob<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; List: </font></tt><a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class"><tt><font size=2>http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class</font></tt></a><tt><font size=2><br>
&gt; IRC: irc.perl.org#dbix-class<br>
&gt; SVN: </font></tt><a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/"><tt><font size=2>http://dev.catalyst.perl.org/repos/bast/DBIx-Class/</font></tt></a><tt><font size=2><br>
&gt; Searchable Archive: </font></tt><a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk"><tt><font size=2>http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk</font></tt></a><tt><font size=2><br>
&gt; <br>
</font></tt>