NAME

PDF::Template::Element::Var

PURPOSE

To provide variable support

NODE NAME

VAR

INHERITANCE

PDF::Template::Element

ATTRIBUTES

  • NAME This is the name of the parameter to substitute

CHILDREN

None

AFFECTS

Nothing

DEPENDENCIES

None

USAGE

<var name="SomeParam"/>

NOTE

In most cases, the use of VAR is unnecessary as the nodes all have the ability to use the $-notation for variablized attributes. For example, the filename for IMAGE or the text for TEXTBOX can be specified by the appropriate attribute.

However, the node is not provided solely for backwards compatibility. There are some situations where the attribute $-notation is inadequate and a VAR node is required. (q.v. TEXTBOX for an example)

AUTHOR

Rob Kinyon (rob.kinyon@gmail.com)

SEE ALSO

TEXTBOX, IMAGE

1 POD Error

The following errors were encountered while parsing the POD:

Around line 40:

=back doesn't take any parameters, but you said =back 4