SYNOPSIS
package SomeTemplate::Bridge::Xslate;
use parent qw(Text::Xslate::Bridge);
__PACKAGE__->bridge(
nil => \%nil_methods,
scalar => \%scalar_methods,
array => \%array_methods,
hash => \%hash_methods,
function => \%functions,
);
# in your script
use Text::Xslate;
my $tx = Text::Xslate->new(
module => [
'SomeTemplate::Bridge::Xslate'
=> [-exclude => [qw(hash::keys hash::values)]],
],
);