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> <http://wardley.org/>
22
24 Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
25
26 This module is free software; you can redistribute it and/or modify it
27 under the same terms as Perl itself.
28
30 Template::Plugin
31
32
33
34perl v5.32.1 2021-01-27 Template::Plugin::Format(3)