CGI.PM and hidden()





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), I have
tried enclosing the contents of the hidden() command in "{}" but this
made no difference. I am not sure what the role of these brackets
are, some syntax shows them present and other forms of the syntax
shows them absent.

appreciate any help

dts
.



Relevant Pages

  • Re: Square brackets?
    ... doesn't even see parentheses, but looks solely at the indentation. ... But by this reasoning the brackets are just needless syntactic ... as to whether that syntax even makes things any easier to read. ... The vast majority of beginners are ...
    (comp.lang.scheme)
  • Re: Square brackets?
    ... the true Schemer ought to be able to see past a ... But by this reasoning the brackets are just needless syntactic ... as to whether that syntax even makes things any easier to read. ... The vast majority of beginners are ...
    (comp.lang.scheme)
  • HLA syntax (was Re: What do I do with Art Of Assembly?)
    ... Randy explained as being the sole exception in all of HLA, ... You know that Randy was re-writing your instruction in HLA syntax so ... Randy's _writing style_ only...I never put spaces by the brackets (I ...
    (alt.lang.asm)
  • Re: simple ALTER TABLE question
    ... SQL Server Documentation Team ... All the syntax docs show brackets and braces and I don't ...
    (microsoft.public.sqlserver.programming)
  • Re: simple ALTER TABLE question
    ... >>I absolutely hate all the garbage syntax documentation that doesn't ... All the syntax docs show brackets and braces and I don't know ... > helpful in figuring out what all the brackets and braces mean. ...
    (microsoft.public.sqlserver.programming)