1Template::Tools::tpage(U3s)er Contributed Perl DocumentatTieomnplate::Tools::tpage(3)
2
3
4
6 Template::Tools::tpage - Process templates from command line
7
9 tpage [ --define var=value ] file(s)
10
12 The tpage script is a simple wrapper around the Template Toolkit
13 processor. Files specified by name on the command line are processed
14 in turn by the template processor and the resulting output is sent to
15 STDOUT and can be redirected accordingly. e.g.
16
17 tpage myfile > myfile.out
18 tpage header myfile footer > myfile.html
19
20 If no file names are specified on the command line then tpage will read
21 STDIN for input.
22
23 The "--define" option can be used to set the values of template
24 variables. e.g.
25
26 tpage --define author="Andy Wardley" skeleton.pm > MyModule.pm
27
28 See Template for general information about the Perl Template Toolkit
29 and the template language and features.
30
32 Andy Wardley <http://wardley.org/>
33
35 Copyright (C) 1996-2008 Andy Wardley. All Rights Reserved.
36
37 This module is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
41 ttree
42
43
44
45perl v5.10.1 2008-11-13 Template::Tools::tpage(3)