Rob Kinyon > Excel-Template-0.29 > Excel::Template::Element::Var

Download:
Excel-Template-0.29.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  0
View/Report Bugs
Source   Latest Release: Excel-Template-0.34

NAME ^

Excel::Template::Element::Var

PURPOSE ^

To provide parameter substitution.

NODE NAME ^

VAR

INHERITANCE ^

Excel::Template::Element

ATTRIBUTES ^

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

syntax highlighting: