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
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   The .tpagerc Configuration File
29       You can use a .tpagerc file in your home directory.
30
31       The purpose of this file is to set any global configuration options
32       that you want applied every time tpage is run. For example, you can use
33       the "include_path" to use template files from a generic template
34       directory.
35
36       Run "tpage -h" for a summary of the options available.
37
38       See Template for general information about the Perl Template Toolkit
39       and the template language and features.
40

AUTHOR

42       Andy Wardley <http://wardley.org/>
43
45       Copyright (C) 1996-2008 Andy Wardley.  All Rights Reserved.
46
47       This module is free software; you can redistribute it and/or modify it
48       under the same terms as Perl itself.
49

SEE ALSO

51       ttree
52
53
54
55perl v5.30.0                      2019-07-26         Template::Tools::tpage(3)
Impressum