Re: CGI.PM and hidden()



dtshedd@xxxxxxxxx wrote in
news:1d83c539-ec4e-4c1e-8e24-40131fcd1809@xxxxxxxxxxxxxxxxxxxxxxxxxx:

I am trying to replace this
print "<input type=\"hidden\" name=\"page\" value=$page>\n";

with this
print hidden(-name=>"page", -value=>$page);

problem is that the new line does not print the correct value of
$page (its supposed to change every pass through the perl code),
<snip>

Try '-override', like this:

print hidden(-name=>"page", -value=>$page, -override=>1);

....Steve

--
Steve van der Burg
Technical Analyst, Information Services
London Health Sciences Centre
London, Ontario, Canada
Email: steve.vanderburg@xxxxxxxxxx
.