>Surely that should be: $template->param(res => $res);
Looks like that's correct, 'cause I made the change, and all is well. Sometimes it's hell being a newbie ...
I guess what I just learned is that you can assign the values from a select immediately to an individual template ... I was taking the approach that I needed to assign the values to the script's "global" object in order to be able to utilize the variables in a template.
... guess that's why they call it a learning curve
Thanks, Sam
Carl Hagstrom
At 12:52 PM 5/21/2004, Sam Tregar wrote:
On Fri, 21 May 2004, C Hagstrom wrote:
> my $res = $sth->fetchall_arrayref({}); > > ................... > > assign it to a parameter: > > $q->param(res => $res);
Surely that should be:
$template->param(res => $res);
There's no reason to give CGI::param() an array of hash-refs, is there?
-sam
C. Hagstrom
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users