Name
param
Synopsis
@name = $query ->param([ parameter [ newvalue1, newvalue2, ... ] ])
Description
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', ...);
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.