OK.  I thought I had it.  Now, I'm trying to pass a hash reference to
load_tmpl, like so:

my $od = $dbh->prepare($sql);
$od->execute;
my $r = $od->fetchrow_hashref;
my $body = $self->load_tmpl('pwm_orderdetail.html', associate => $r);

But I get this error:

Can't call method "can" on unblessed reference at
c:/Perl/site/lib/HTML/Template.pm line 781.

What would be the syntax for this?

Thanks much.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to