OS Manuals

/usr/bin/tpage

comprehensive template processing system

From perl-template-toolkit 3.106-r4 (os), captured 2026-11-05 by running tpage --help (exit 0). permalink

tpage 2.7 (Template Toolkit version 3.106)

usage: tpage [options] [files]

Options:
   --define var=value       Define template variable
   --interpolate            Interpolate '$var' references in text
   --anycase                Accept directive keywords in any case.
   --pre_chomp              Chomp leading whitespace
   --post_chomp             Chomp trailing whitespace
   --trim                   Trim blank lines around template blocks
   --eval_perl              Evaluate [% PERL %] ... [% END %] code blocks
   --load_perl              Load regular Perl modules via USE directive
   --absolute               Allow ABSOLUTE directories (enabled by default)
   --relative               Allow RELATIVE directories (enabled by default)
   --include_path=DIR       Add directory to INCLUDE_PATH
   --pre_process=TEMPLATE   Process TEMPLATE before each main template
   --post_process=TEMPLATE  Process TEMPLATE after each main template
   --process=TEMPLATE       Process TEMPLATE instead of main template
   --wrapper=TEMPLATE       Process TEMPLATE wrapper around main template
   --default=TEMPLATE       Use TEMPLATE as default
   --error=TEMPLATE         Use TEMPLATE to handle errors
   --debug=STRING           Set TT DEBUG option to STRING
   --start_tag=STRING       STRING defines start of directive tag
   --end_tag=STRING         STRING defined end of directive tag
   --tag_style=STYLE        Use pre-defined tag STYLE
   --plugin_base=PACKAGE    Base PACKAGE for plugins
   --compile_ext=STRING     File extension for compiled template files
   --compile_dir=DIR        Directory for compiled template files
   --perl5lib=DIR           Specify additional Perl library directories
   --template_module=MODULE Specify alternate Template module
   --while_max=INTEGER      Change '$Template::Directive::WHILE_MAX' default
   --envvars                Set the 'env' variable to the environment (%ENV)
   --expose_blocks          Make blocks visible as pseudo-files

See 'perldoc tpage' for further information.
Options (28)
OptionDescriptionSource
--define var=valueDefine template variablehelp
--interpolateInterpolate '$var' references in texthelp
--anycaseAccept directive keywords in any case.help
--pre_chompChomp leading whitespacehelp
--post_chompChomp trailing whitespacehelp
--trimTrim blank lines around template blockshelp
--eval_perlEvaluate [% PERL %] ...help
--load_perlLoad regular Perl modules via USE directivehelp
--absoluteAllow ABSOLUTE directories (enabled by default)help
--relativeAllow RELATIVE directories (enabled by default)help
--include_path DIRAdd directory to INCLUDE_PATHhelp
--pre_process TEMPLATEProcess TEMPLATE before each main templatehelp
--post_process TEMPLATEProcess TEMPLATE after each main templatehelp
--process TEMPLATEProcess TEMPLATE instead of main templatehelp
--wrapper TEMPLATEProcess TEMPLATE wrapper around main templatehelp
--default TEMPLATEUse TEMPLATE as defaulthelp
--error TEMPLATEUse TEMPLATE to handle errorshelp
--debug STRINGSet TT DEBUG option to STRINGhelp
--start_tag STRINGSTRING defines start of directive taghelp
--end_tag STRINGSTRING defined end of directive taghelp
--tag_style STYLEUse pre-defined tag STYLEhelp
--plugin_base PACKAGEBase PACKAGE for pluginshelp
--compile_ext STRINGFile extension for compiled template fileshelp
--compile_dir DIRDirectory for compiled template fileshelp
--perl5lib DIRSpecify additional Perl library directorieshelp
--while_max INTEGERChange '$Template::Directive::WHILE_MAX' defaulthelp
--envvarsSet the 'env' variable to the environment (%ENV)help
--expose_blocksMake blocks visible as pseudo-fileshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.