Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libtemplate-autofilter-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libtemplate-autofilter-perl  ]

套件: libtemplate-autofilter-perl (0.143050-1)

Template::Toolkit subclass with automatic filtering

Template::AutoFilter is a subclass of Template::Toolkit which loads a specific Parser that is subclassed from Template::Parser. It adds a filter instruction to each interpolation token found in templates loaded by the TT engine. Tokens that already have a filter instruction are left unchanged.

By default this automatic filter is set to be 'html', but can be modified during object creation by passing the AUTO_FILTER option with the name of the wanted filter.

Additionally a pass-through filter called 'none' is added to the object to allow exclusion of tokens from being filtered.

Lastly, if you have problems with the directives which get auto filters applied, you can see the Template::AutoFilter::Parser docs for how you can customize that.

其他與 libtemplate-autofilter-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: liblist-moreutils-perl
    Perl module with additional list functions not found in List::Util
  • dep: libtemplate-perl
    "Template Toolkit" template processing system in Perl
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libtemplate-autofilter-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 13.8 kB37 kB [文件列表]