The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/env perl
use strict;
use warnings;

use Text::Xslate;
use FindBin qw($Bin);

my $xslate = Text::Xslate->new({
    syntax    => 'TTerse',
    path      => "$Bin/tmpl",
    cache_dir => "$Bin/cache",
});

my @tmpls = qw/ contentA.tt contentB.tt /;
for my $tmpl (@tmpls) {
    print "\@\@$tmpl\n";
    print $xslate->render($tmpl);
}