Hey Brian,

I believe the error is prompted by ref( $data->{'rows'} ) not being "ARRAY",
most likely rows is undef() or something along those lines. I could totally
be wrong though, this is just my experience.

To fix it, I usually use something along the lines of

$data->{'rows'} = get_my_rows() || [] ;

Although, I would never actually name the variable 'rows'.

 :)

> But seriously Doc, lighten up, and remember that we're
> trying to help you out of the goodness of our hearts and
> our wish to support other developers using HTML::Template.

As those "cooler" than I say... "word." :)


Kenny Smith



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to