<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 4 February 2015 at 17:23, Peter Rabbitson <span dir="ltr">&lt;<a href="mailto:rabbit+dbic@rabbit.us" target="_blank">rabbit+dbic@rabbit.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/04/2015 06:14 PM, Chris Welch wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 ...<br>
<br>
However, in my template (having stashed |$divisions|), I&#39;m unable to<span class=""><br>
access the grid_positions_filled object because division.team_seaons<br>
gives me an arrayref of team resultsets in that division:<br>
<br>
     [%<br>
     # Loop through our divisions<br>
     FOREACH division IN divisions;<br>
       CALL c.log.debug(division.team_<u></u>seasons); # The output of this is<br>
something like: ARRAY(0x6f8318c)<br>
     END;<br>
     -%]<br>
<br></span>
...<br>
<br>
</blockquote>
<br>
Any relationship accessor is also created with an &lt;accessor_name&gt;_rs variant, to work around *exactly* this (mis)feature of TT.<br>
<br>
What you want above is ...division.team_seasons_rs...<br>
<br>
Cheers<br>
<br>
<br>
______________________________<u></u>_________________<br>
List: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class" target="_blank">http://lists.scsys.co.uk/cgi-<u></u>bin/mailman/listinfo/dbix-<u></u>class</a><br>
IRC: <a href="http://irc.perl.org#dbix-class" target="_blank">irc.perl.org#dbix-class</a><br>
SVN: <a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/" target="_blank">http://dev.catalyst.perl.org/<u></u>repos/bast/DBIx-Class/</a><br>
Searchable Archive: <a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk" target="_blank">http://www.grokbase.com/group/<u></u>dbix-class@lists.scsys.co.uk</a><br>
</blockquote></div><br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:rgb(0,0,102)">​Fantastic, thank you so much for that!  I&#39;m glad it was that easy...!​</div><br></div></div>