NAME

Top Close Open

Template:TT3::Element::Construct - base class element for grouping constructs

DESCRIPTION

Top Close Open

This module implements a subclass of Template::TT3::Element . It acts as a common base class for the Template::TT3::Element::Construct::List , Template::TT3::Element::Construct::Hash , Template::TT3::Element::Construct::Parens and Template::TT3::Element::Construct::Args modules.

[% a = [10, 20]    %]           # list construct
[% a = { b=10 }    %]           # hash construct
[% a = (b + c) * d %]           # parens
[% foo(a, b, c=d)  %]           # args

METHODS

Top Close Open

This module implements the following methods in addition to those inherited from the Template::TT3::Element , Template::TT3::Base and Badger::Base base classes.

parse_expr()

Top Close Open

variable()

Top Close Open

AUTHOR

Top Close Open

Andy Wardley http://wardley.org

COPYRIGHT

Top Close Open

Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


http://tt3.template-toolkit.org/docs/Template/TT3/Element/Construct.pm last modified 2009-12-21 21:27:24