| Excel-Template documentation | Contained in the Excel-Template distribution. |
Excel::Template::Container::Scope
To provide scoping of parameters for children
SCOPE
Excel::Template::Container
None
None
None
None
<scope param1="value1" param2="value2">
... Children here ...
</scope>
In the above example, the children would all have access to the parameters param1 and param2. This is useful if you have a section of your template that all has the same set of parameter values, but don't have a common parent.
Rob Kinyon (rob.kinyon@gmail.com)
| Excel-Template documentation | Contained in the Excel-Template distribution. |
package Excel::Template::Container::Scope; use strict; BEGIN { use vars qw(@ISA); @ISA = qw(Excel::Template::Container); use Excel::Template::Container; } # This is used as a placeholder for scoping values across any number # of children. It does nothing on its own. 1; __END__