<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl -w
use strict;
use Text::Xslate;
my %vpath = (
    hello =&gt; 'Hello, &lt;: $lang :&gt; world!' . "\n",
);
my $tx = Text::Xslate-&gt;new(
    cache        =&gt; 0,
    path         =&gt; \%vpath,
    verbose      =&gt; 2,
    warn_handler =&gt; sub { Text::Xslate-&gt;print('[[', @_, ']]') },
);

print $tx-&gt;render('hello', { lang =&gt; "Xslate" });
print $tx-&gt;render('hello', { });

</pre></body></html>