CGI.PM and hidden()
- From: dtshedd@xxxxxxxxx
- Date: Sun, 13 Apr 2008 10:12:30 -0700 (PDT)
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
.
- Follow-Ups:
- Re: CGI.PM and hidden()
- From: xhoster
- Re: CGI.PM and hidden()
- From: Steve van der Burg
- Re: CGI.PM and hidden()
- From: Claudio Calvelli
- Re: CGI.PM and hidden()
- From: Mumia W.
- Re: CGI.PM and hidden()
- Prev by Date: "audio::wav" module
- Next by Date: CGI.PM and print table
- Previous by thread: "audio::wav" module
- Next by thread: Re: CGI.PM and hidden()
- Index(es):
Relevant Pages
|
|