start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: nph Chapter 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: nph Perl in a Nutshell Next: Reference: password_field
Reference: nph Book Index Reference: password_field

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.