Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Template::Semantic::FiUser(Contributed Perl DocumTemplate::Semantic::Filter(3)

NAME
       Template::Semantic::Filter - Template::Semantic Defined filters

FILTERS
   chomp
	 $ts->process($template, {
	     'h1' => [ "foo\n",	'chomp'	], # =>	<h1>foo</h1>
	 })

   trim
	 $ts->process($template, {
	     'h1' => [ " foo ",	'trim' ], # => <h1>foo</h1>
	 })

   sort
	 $ts->process($template, {
	     'h1@class'	=> [ "zzz xxx yyy", 'sort' ], #	=> <h1 class="xxx yyy zzz">foo</h1>
	 })

   uniq
	 $ts->process($template, {
	     'h1@chass'	=> [ "foo bar foo", 'uniq' ], #	=> <h1 class="foo bar">foo</h1>
	 })

   comma
	 $ts->process($template, {
	     'h1' => [ "10000",	'comma'	], # =>	<h1>10,000</h1>
	 })

       codes from: Template::Plugin::Comma.

   html_line_break
	 $ts->process($template, {
	     'p' => [ "foo & foo\nbar\n", 'html_line_break' ],
	     # =>
	     # <p>foo &amp; foo<br />
	     # bar <br /></p>
	 })

       codes from: Template::Filters"::html_line_break()".

SEE ALSO
       Template::Semantic

AUTHOR
       Naoki Tomita <tomita@cpan.org>

perl v5.32.0			  2010-02-22	 Template::Semantic::Filter(3)

NAME | FILTERS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Template::Semantic::Filter&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help