Полезная информация

Perl in a Nutshell

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

param

 @name = $query->param([parameter [newvalue1, newvalue2, ...] ])

Gets or sets parameter names.

@name

The array to contain the parameter names.

parameter

An optional single parameter to fetch. When used with no arguments, param returns a list of all known parameter names.

newvalue1, newvalue2, ...

The optional new values to assign to the parameter.

Using named parameters, the syntax is:

$query->param(-name=>'parameter',
              -value=>'newvalue');
or:
$query->param(-name=>'parameter',
              -values=>'newvalue1', 'newvalue2', ...);


Previous: Reference: nphPerl in a NutshellNext: Reference: password_field
Reference: nphBook IndexReference: password_field