in reply to Re: Using associate with HTML::Template
in thread Using associate with HTML::Template

Thanks for the response. A test, using something similar, indeed works.
It turns out that I had a different problem..
$cgi_vars{fname} was indeed being set to "", but later in the script it was re-set to an 'undefined' value. This, of course, was not readily discernible in my test print statements.

So this returned the original value if the $cgi_vars{fname} value is undefined.

$q->param('fname' => $cgi_vars{fname});

Replies are listed 'Best First'.
Re^3: Using associate with HTML::Template
by dragonchild (Archbishop) on Apr 07, 2005 at 00:24 UTC