This module implements a thin subclass of Template::TT3::Element to represent literal text tokens, i.e. blocks of plain text in a template. It acts as a common base class for the Template::TT3::Element::Padding and Template::TT3::Element::String element.
This module inherits all methods from the Template::TT3::Element::Literal , Template::TT3::Element , Template::TT3::Base and Badger::Base base classes.
The following constant method is defined:
This defines a sprintf()
format string of "%s"
(note that the quotes
are part of the format). This is used by the
source()
method inherited from
Template::TT3::Element::Literal
to render a canonical representation
of the template source code for this element.
Andy Wardley http://wardley.org
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.
This module inherits methods from the Template::TT3::Element::Literal , Template::TT3::Element , Template::TT3::Base and Badger::Base base classes.
It is constructed using the Template::TT3::Class::Element class metaprogramming module.
It is itself the base class for the Template::TT3::Element::Padding and Template::TT3::Element::String modules.