NAME

Templer::Plugin::Strict - A XML-like strict syntax for templates tags.

DESCRIPTION

This class implements a layout template filter plugin for templer which allows empty-element template tags to be written as in XML.

This allows the following syntax

<TMPL_VAR NAME="PARAMETER_NAME"/>
<TMPL_INCLUDE NAME="filename.tmpl"/>
<TMPL_ELSE/>

LICENSE

This module is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or

b) the Perl "Artistic License".

AUTHOR

Bruno Beaufils <bruno@boulgour.com>

COPYRIGHT AND LICENSE

Copyright (C) 2014 Bruno Beaufils <bruno@boulgour.com>.

This library is free software. You can modify and or distribute it under the same terms as Perl itself.

METHODS

new

Constructor. No arguments are supported/expected.

available

This plugin is always available.

filter

Filter the given template.