Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: headerChapter 10
The CGI.pm Module
Next: Reference: image_button
 

hidden

 print $query->hidden('name', 'value' [,'value'... ])

Generates a hidden text field.

name

The name to give the value (required).

value

The value to assign to name. Multiple values can be specified.

Using named parameters, the syntax is:

print $query->hidden(-name=>'name',
                       -default=>'value');
With named parameters, the value can also be represented as a reference to an array, such as:
print $query->hidden(-name=>'name',
                     -default=>['value1', 'value2', ...  ]);


Previous: Reference: headerPerl in a NutshellNext: Reference: image_button
Reference: headerBook IndexReference: image_button