Excel::Template::Container::Scope - Excel::Template::Container::Scope documentation


Excel-Template documentation Contained in the Excel-Template distribution.

Index


Code Index:

NAME

Top

Excel::Template::Container::Scope

PURPOSE

Top

To provide scoping of parameters for children

NODE NAME

Top

SCOPE

INHERITANCE

Top

Excel::Template::Container

ATTRIBUTES

Top

None

CHILDREN

Top

None

EFFECTS

Top

None

DEPENDENCIES

Top

None

USAGE

Top

  <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.

AUTHOR

Top

Rob Kinyon (rob.kinyon@gmail.com)

SEE ALSO

Top


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__