On Thu, Jul 21, 2005 at 04:11:28PM -0500, Will wrote:
> As I mentioned in an earlier post, I have both Class::DBI and TT working 
> individually just fine. The problem I have now is getting the results of 
> a Class::DBI retrieve_all method call into my TT template variables.
> 
> I have in my script:
> 
> my @volumes = S::Volumes->retrieve_all;
> my $vars = {'volumes' => @volumes};

That needs to be a reference to your array - not the array itself.

my $vars = {'volumes' => [EMAIL PROTECTED];

Then all your existing code should work fine.

Dave...

-- 
  We are far too young and clever

Attachment: pgpFripEvK2Rh.pgp
Description: PGP signature

Reply via email to