Skip to content

Instantly share code, notes, and snippets.

@msouth
Created August 5, 2013 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msouth/6159472 to your computer and use it in GitHub Desktop.
Save msouth/6159472 to your computer and use it in GitHub Desktop.
single file tt test
use Template;
my $tt = Template->new( START_TAG=>'<%', END_TAG=>'%>' );
$tt->process(\*DATA, {}, \*stdout) ;
__DATA__
<% index = 0; last = 0; %>
index is now <% index %>
last is now <% last %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment