NAME

Template::AutoFilter::Parser - parses TT templates and automatically adds filters to tokens

VERSION

version 0.110032

DESCRIPTION

Sub-class of Template::Parser.

METHODS

new

Accepts an extra parameter called AUTO_FILTER, which provides the name of a filter to be applied. This parameter defaults to 'html'.

split_text

Modifies token processing by adding the filter specified in AUTO_FILTER to all filter-less interpolation tokens.

has_skip_field

Checks the field list of a token to see if it contains directives that should be excluded from filtering.

skip_fields

Provides a reference to a hash containing all directives to be excluded.

AUTHOR

Christian Walde <walde.christian@googlemail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Christian Walde.

This is free software, licensed under:

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004