1TPAGE(1) User Contributed Perl Documentation TPAGE(1)
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 <abw@wardley.org>
33
34 <http://wardley.org/>
35
37 2.68, distributed as part of the Template Toolkit version 2.19,
38 released on 27 April 2007.
39
41 Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
42
43 This module is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself.
45
47 ttree
48
49
50
51perl v5.10.1 2008-11-13 TPAGE(1)