On Sun, 14 Apr 2002, Phil Brodd wrote:
> I'm having some trouble tracking down a bug in some code I've written using
> HTML::Template 2.5. I get this error in my web server log:
>
> Can't call method "isa" on unblessed reference at
> /local/lib/perl//HTML/Template.pm line 2364
Hm, that's bad. I should be using UNIVERSAL::isa instead of ->isa().
I'll fix that for 2.6.
> $self->{_html_template}->param(records => \$self->{_template_params});
I think this is your problem. You've already got a reference in
_template_params. Now by using \ you're creating a reference to a
reference which param() doesn't like. Try:
$self->{_html_template}->param(records => $self->{_template_params});
-sam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]