I confess I don't completely understand what you suggested, but I tried the following and I receive an error that says "nc_rpt_summary.pl: HTML::Template : Attempt to set nonexistent parameter 'cell_fmt' - ..[blah].. at /nc_rpt_summary.pl line 599".
I tried changing 'cell_fmt' in line 599 to 'tit
At 07:08 AM 1/9/04 -0800, LDT wrote:
<>
my $cell_fmt = <
align="right" style="cursor:pointer;cursor:hand;"
title="Click to drill down"
onmouseover="style.background='#FF';"
onmouseout ="style.background='';">
EOL
;
$tmpl_main =
Thanks for the explanation. I tried it right away, and I now get the following error. I had snipped out the parameters in my original post because they were irrelevant, but now it trips over them in my actual program. I haven't changed any of my templates, so I believe this is in response to the
scalarref takes just that: a reference to a scalar. So you almost got it:
$tmpl_main = HTML::Template->new( scalarref => \$cell_fmt );
At 06:27 AM 1/9/04 -0800, LDT wrote:
Hi Timm,
Thanks for the quick response. I looked at the H:T documentation, and I
see the reference to scalarref and arra
Hi Timm,
Thanks for the quick response. I looked at the H:T documentation, and I see the reference to scalarref and arrayref, but I don't understand what they mean or exactly how I might use them. If I understand your note correctly, I would need add the scalarref like this:
my $cell_fmt = qq