1Template::Tools::tpage(U3s)er Contributed Perl DocumentatTieomnplate::Tools::tpage(3)
2
3
4

NAME

6       Template::Tools::tpage - Process templates from command line
7

USAGE

9           tpage [ --define var=value ] file(s)
10

DESCRIPTION

12       The tpage script is a simple wrapper around the Template Toolkit pro‐
13       cessor.  Files specified by name on the command line are processed in
14       turn by the template processor and the resulting output is sent to STD‐
15       OUT 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 vari‐
24       ables.  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

AUTHOR

32       Andy Wardley <abw@wardley.org>
33
34       <http://wardley.org/http://wardley.org/>
35

VERSION

37       2.68, distributed as part of the Template Toolkit version 2.18,
38       released on 09 February 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

SEE ALSO

47       ttree
48
49
50
51perl v5.8.8                       2007-02-09         Template::Tools::tpage(3)
Impressum