Re: [Templates] Need help viewing DBIx::Class object in TT

2010-03-19 Thread Ronald J Kimball
On 3/18/2010 5:52 PM, Chris M wrote: > TT obviously has a way of accessing these in a more simplified form. > Is there a way to view the stash as it can be accessed from TT, like > the tree above? I'm not sure what you mean by "TT obviously has a way of accessing these in a more simplified form."

Re: [Templates] Need help viewing DBIx::Class object in TT

2010-03-19 Thread Chris M
Very true. I'd still like to know if anybody has a TT solution as the DBIC objects are kinda nasty, but this will help me make progress in the meantime. Thanks! On Thu, Mar 18, 2010 at 7:37 PM, Oleg Kostyuk wrote: > I think, this receipt could be useful: > > http://search.cpan.org/~ribasushi/D

Re: [Templates] Need help viewing DBIx::Class object in TT

2010-03-18 Thread Oleg Kostyuk
I think, this receipt could be useful: http://search.cpan.org/~ribasushi/DBIx-Class-0.08120/lib/DBIx/Class/Manual/Cookbook.pod#DBIx::Class_objects_with_Data::Dumper Of course, this is not direct answer to your question, but I'm sure that you can adopt it accordingly. 2010/3/18 Chris M : > To giv

[Templates] Need help viewing DBIx::Class object in TT

2010-03-18 Thread Chris M
To give a little detail, I'm grabbing lots of related info from a DB all in one query using DBIx::Class (DBIC). I am passing the object(s) 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. T