1 package Excel::Template::Element::Var;
7 @ISA = qw(Excel::Template::Element);
9 use Excel::Template::Element;
12 sub resolve { ($_[1])->param($_[1]->resolve($_[0], 'NAME')) }
19 Excel::Template::Element::Var
23 To provide parameter substitution.
31 Excel::Template::Element
39 This is the name of the parameter to substitute here.
53 This will only be used within CELL tags.
57 This is used exactly like HTML::Template's TMPL_VAR. There is one exception -
58 since you can have variable names inside the parameters, you can do something
62 <var name="$SomeParam"/>
65 Where the actual name to be substituted is, itself, a parameter.
69 Rob Kinyon (rkinyon@columbus.rr.com)