The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Brickyard::Role::PluginBundle - Role to use for plugin bundles

SYNOPSIS

    package My::App::PluginBundle::Foo;
    use Role::Basic 'with';
    with qw(Brickyard Role::Plugin);

    sub bundle_config {
        [
            [ '@Default/Uppercase', $_[0]->_exp('Uppercase'), {} ],
            [ '@Default/Repeat',    $_[0]->_exp('Repeat'), { times => 3 } ]
        ];
    }

METHODS

new

Constructs a new object. Takes an optional hash of arguments to initialize the object.

brickyard

Read-write accessor for the Brickyard object that created this object.

_exp

Takes a package name and delegates to the brickyard's expand_package() method.