To give a little detail, I'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'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

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

Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100318/86208294/attachment.htm

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedMar 18, '10 at 6:00p
activeMar 18, '10 at 6:00p

1 user in discussion

Chris M: 1 post



site design / logo © 2023 Grokbase