Skip to content

Instantly share code, notes, and snippets.

@gfx
Created July 25, 2010 02:42
Show Gist options
  • Select an option

  • Save gfx/489237 to your computer and use it in GitHub Desktop.

Select an option

Save gfx/489237 to your computer and use it in GitHub Desktop.
#!perl -w
use strict;
use Text::Xslate;
my $tx = Text::Xslate->new(
syntax => 'TTerse',
tag_start => '<%',
tag_end => '%>',
);
print $tx->render_string('Hello, <% lang %> world!', { lang => "TTerse" }), "\n";
__END__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment