one query using DBIx::Class. I am passing the object directly to the stash
for processing in TT so I don'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.
However, there are times when I'm unsure when I�ll have to iterate over some
children in one of the relationships. Meaning the tree of the data could
look like
- Stashvar
- Relationship1
- Relationship2-row1
- Field
- Relationship2-row2
- Field
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. Is
there a way to view the stash as it can be accessed from TT, like the tree
above?
Thanks in advance!
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100318/86208294/attachment.htm
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100318/86208294/attachment.htm