4.62. scratch
4.62.1. Summary
Parameters: name
Positional parameters in same order.
Pass attribute hash as last to subroutine: no
Must pass named parameter interpolate=1 to cause interpolation.
Invalidates cache: YES
Called Routine:
ASP-like Perl call:
$Tag->scratch( { name => VALUE, } ) OR $Tag->scratch($name); [scratch name]
Parameters | Description | Default |
name | DEFAULT_VALUE |
Attributes | Default |
interpolate (reparse) | No |
Other_Characteristics | |
Invalidates cache | YES |
Container tag | No |
Has Subtags | No |
Nests | Yes |
Tag expansion example:
[scratch name] --- TODO: (tag result)
ASP-like Perl call:
$Tag->scratch( { name => VALUE_name }, $body );
or similarly with positional parameters,
$Tag->scratch(name, $attribute_hash_reference, $body);
4.62.2. Description
Returns the contents of a scratch variable to the page. (A scratch variable is set with a [set] value [/set] container pair.)