tts man page

"tts" — Command line interface to Text::Template::Simple


You have to either pass a file name or pass "-e" with a template string.

tts -e 'My perl is at <%= $^X %>'
tts /home/burak/template.tts


-e                      String template to execute
--http-header           Print a HTTP Header?
--help                  Display help
--debug                 Integer. Sets the debuggging level
--debug-tokens          Enable token debugging?
--new-cache             Flag.
--new-capture-warnings  Flag.
--new-safe              Flag.
--new-stack             Flag.
--new-strict            Flag.
--new-verbose_errors    Flag.
--new-warn-ids          Flag.
--new-monolith          Flag.
--new-add-args          Add global arguments
--new-cache-dir         Path to cache directory
--new-delimiters        Sets the delimiters
--new-header            Injects a default code onto the template
--new-include-paths     List of include paths
--new-iolayer           Perl I/O layer
--new-pre-chomp         Global pre-chomp
--new-post-chomp        Global post-chomp
--compile-param         List of parameters to pass to compiler
--compile-id            Set the template cache id manually
--compile-map-keys      Flag. Enable map keys interface?
--compile-chkmt         Flag. Check modification time of the template?


This a command line front end to Text::Template::Simple.


"Burak Gursoy", <>


This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.0 or, at your option, any later version of Perl 5 you may have available.


2016-07-10 perl v5.24.0 User Contributed Perl Documentation