xslate - Process Xslate Templates
xslate # Text::Xslate options [ --cache ] [ --cache_dir=/path/to/dir ] [ --module=Module=subs ... ] [ --input_layer ... ] [ --path=/path/to/templates ... ] [ --syntax=moniker ] [ --escape=mode ] [ --verbose=level ] # Output options [ --dest=/path/to/destination ] [ --ignore=pattern ... ] [ --suffix old=new ... ] [ --define name=value ... ] # Target to process target # one liners xslate -e 'Hello, <: $ARGV[0] :> world!' Xslate # => Hello, Xslate world! xslate -MURI::Escape=uri_escape -e '<: uri_escape($ARGV[0]) :>' 'foo bar' # => foo%20bar
The xslate script is used to process entire directory trees containing template files.
Specifies the target to be processed by Xslate.
If the target is a file, the file is processed, and xslate will exit immediately. If the target is a directory, then the directory is traversed and each file found is processed via xslate.
Maki, Daisuke (lestrrat)
Fuji, Goro (gfx)
Text::Xslate
To install Text::Xslate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Xslate
CPAN shell
perl -MCPAN -e shell install Text::Xslate
For more information on module installation, please visit the detailed CPAN module installation guide.