The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
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;