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
This a command line front end to Text::Template::Simple.
tts - Command line interface to Text::Template::Simple
-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?
"Burak Gursoy", <burak@cpan.org>
Copyright 2004-2017 "Burak Gursoy". All rights
reserved.
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.
Burak Gursoy <burak@cpan.org>
This software is copyright (c) 2004 by Burak Gursoy.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.