1Template::Plugin::FormaUts(e3r)Contributed Perl DocumentTaetmipolnate::Plugin::Format(3)
2
3
4
6 Template::Plugin::Format - Plugin to create formatting functions
7
9 [% USE format %]
10 [% commented = format('# %s') %]
11 [% commented('The cat sat on the mat') %]
12
13 [% USE bold = format('<b>%s</b>') %]
14 [% bold('Hello') %]
15
17 The format plugin constructs sub-routines which format text according
18 to a printf()-like format string.
19
21 Andy Wardley <abw@wardley.org>
22
23 <http://wardley.org/⎪http://wardley.org/>
24
26 2.7, distributed as part of the Template Toolkit version 2.18, released
27 on 09 February 2007.
28
30 Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
31
32 This module is free software; you can redistribute it and/or modify it
33 under the same terms as Perl itself.
34
36 Template::Plugin
37
38
39
40perl v5.8.8 2007-02-09 Template::Plugin::Format(3)