DOKK / manpages / debian 12 / libexcel-template-perl / Excel::Template::Element::Var.3pm.en
Excel::Template::Element::Var(3pm) User Contributed Perl Documentation Excel::Template::Element::Var(3pm)

Excel::Template::Element::Var - Excel::Template::Element::Var

To provide parameter substitution.

VAR

Excel::Template::Element

NAME

This is the name of the parameter to substitute here.

None

None

This will only be used within CELL tags.

This is used exactly like HTML::Template's TMPL_VAR. There is one exception - since you can have variable names inside the parameters, you can do something like:

  <loop name="LOOPY">
    <var name="$SomeParam"/>
  </loop>

Where the actual name to be substituted is, itself, a parameter.

Rob Kinyon (rob.kinyon@gmail.com)

CELL

2022-06-13 perl v5.34.0