++ed by:
KEEDI KOVENSKY HIDEAKIO DMOL SKAUFMAN

32 PAUSE users
16 non-PAUSE users.

藤 吾郎
and 1 contributors

NAME

Text::Xslate::Bridge - The interface base class to import methods

SYNOPSIS

    package SomeTemplate::Bridge::Xslate;

    use parent qw(Text::Xslate::Bridge);

    __PACKAGE__->bride(
        nil    => \%SomeTemplate::nil_methods,
        scalar => \%SomeTemplate::scalar_methods,
        array  => \%SomeTemplate::array_methods,
        hash   => \%SomeTemplate::hash_methods,
    );

    # in your script

    use Text::Xslate;

    my $tx = Text::Xslate->new(
        module => [
            'SomeTemplate::Bridge::Xslate'
                => [-exclude => [qw(hash::keys hash::values)]],
        ],
    );

DESCRIPTION

This module is the base class for adaptor classes.

SEE ALSO

Text::Xslate

Text::Xslate::Bridge::TT2

Text::Xslate::Bridge::Alloy