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
<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
To install PDF::FromHTML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDF::FromHTML
CPAN shell
perl -MCPAN -e shell install PDF::FromHTML
For more information on module installation, please visit the detailed CPAN module installation guide.