GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Template::AutoFilter::Parser(3) User Contributed Perl Documentation Template::AutoFilter::Parser(3)

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

version 0.143050

Sub-class of Template::Parser.

See Template::Parser for most of these, documented here are added methods.

Accepts all the standard Template::Parser parameters, plus some extra:

AUTO_FILTER

Accepts a single string, which defines the name of a filter to be applied to all directives omitted from the skip list. This parameter defaults to 'html'.

SKIP_DIRECTIVES

Allows customization of which Template::Manual::Directives should be exempt from having auto filters applied. Expects an array ref of strings. Default value is the output from $self->default_skip_directives.

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

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

Provides a reference to a hash containing the default directives to be excluded. Default value is:

    CALL SET DEFAULT INCLUDE PROCESS WRAPPER BLOCK IF UNLESS ELSIF ELSE
    END SWITCH CASE FOREACH FOR WHILE FILTER USE MACRO TRY CATCH FINAL
    THROW NEXT LAST RETURN STOP CLEAR META TAGS DEBUG

Prebuilds a hash of directives to be skipped while applying auto filters.

Christian Walde <walde.christian@gmail.com>

Christian Walde has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.

Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author.

2014-11-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.