The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package MyBridge2;
use strict;
use parent qw(Text::Xslate::Bridge);

__PACKAGE__->bridge(
    scalar => { bar => sub { 'scalar bar' } },
    array  => { bar => sub { 'array bar'  } },
    hash   => { bar => sub { 'hash bar'   } },
);


1;