env
Read the HTTP environment variable(s) set for the current page request.
Summary
| Parameter
|
Description
|
Default
|
| arg |
The name of the HTTP environment variable who's value you would like to read. |
None |
| name |
Alias for arg. |
None |
Examples
Perl example
$Tag->env({
arg => $varname,
});
|
or similarly with positional parameters:
Description
This tag provides read-only access to the HTTP environment variables that
were set for the current page request.
The tag will either return the value of a named HTTP environment variable or,
if no name is specified,
will return a complete list of variables and values in a simple HTML table.
The output can sometimes prove useful for debugging or diagnostics.
Parameters
arg
The name of the HTTP environment variable who's value you would like to read.
If no name is provided then this tag will return a complete list of variables
and values in a simple HTML table.