PDF::FromHTML::Template::Element::Var(3pm) User Contributed Perl Documentation PDF::FromHTML::Template::Element::Var(3pm)

PDF::FromHTML::Template::Element::Var - To provide variable support

VAR

PDF::FromHTML::Template::Element

NAME This is the name of the parameter to substitute

None

Nothing

None

  <var name="SomeParam"/>

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)

Rob Kinyon (rkinyon@columbus.rr.com)

TEXTBOX, IMAGE

2023-02-14 perl v5.36.0