<div>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">To give a little detail, I&#39;m grabbing lots of related info from a DB all in one query using DBIx::Class.  I am passing the object directly to the stash for processing in TT so I don&#39;t have to iterate through all that data, pick out the pieces, and store seemingly redundant information.  This works very well when I know the layout of the data.  In TT, I simply reference stashvar.relationship...field_name.</span></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;"> </span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">However, there are times when I&#39;m unsure when I’ll have to iterate over some children in one of the relationships.<span style="mso-spacerun: yes">  </span>Meaning the tree of the data could look like</span></p>

<ul>
<li>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Stashvar</span></div></li>
<ul>
<li>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Relationship1</span></div></li>

<ul>
<li>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Relationship2-row1</span></div>
</li>
<ul>
<li>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Field</span></div></li></ul>
<li>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Relationship2-row2</span></div>
</li>
<ul>
<li>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Field</span><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;"> </span></div>
</li></ul></ul></ul></ul>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">I know various ways to view the source of the stash (Catalyst debug page on error/die, examining the array I pass to the stash in Perl debugger, using Template::Plugin::Stash), but all these seem to print out the ENTIRE DBIC object in Perl.  This is easily 1000’s of lines because it includes stuff I don’t care about, like all the DBIx class info for all of my tables.<span style="mso-spacerun: yes">  </span>Is there a way to view the stash as it can be accessed from TT, like the tree above?</span></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;"></span> </p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Thanks in advance!</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: &#39;Times New Roman&#39;,&#39;serif&#39;; FONT-SIZE: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;">Chris</span></p></div>