NAME

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

PURPOSE

To provide parameter substitution.

NODE NAME

VAR

INHERITANCE

Excel::Template::Element

ATTRIBUTES

  • NAME

    This is the name of the parameter to substitute here.

CHILDREN

None

EFFECTS

None

DEPENDENCIES

This will only be used within CELL tags.

USAGE

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.

AUTHOR

Rob Kinyon (rob.kinyon@gmail.com)

SEE ALSO

CELL