tts - Man Page

Examples (TL;DR)

Version

version 0.91

Synopsis

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

Description

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

Name

tts - Command line interface to Text::Template::Simple

Options

    -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?

Author

Burak Gursoy, <burak@cpan.org>

License

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.

Author

Burak Gursoy <burak@cpan.org>

Info

2024-01-25 perl v5.38.2 User Contributed Perl Documentation