The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Starch::Plugin::ForManager - Base role for Starch plugins.

SYNOPSIS

package MyPlugin::Manager;
use Moo;
with 'Starch::Plugin::ForManager';
has foo => ( is=>'ro' );

my $starch = Starch->new(
    plugins => ['MyPlugin::Manager'],
    foo => 'bar',
    ...,
);
print $starch->foo(); # bar

DESCRIPTION

This role provides no additional functionality to manager plugins. All it does is labels a plugin as a manager plugin so that Starch knows which class type it applies to.

See "PLUGINS" in Starch::Extending for more information.

SUPPORT

See "SUPPORT" in Starch.

AUTHORS

See "AUTHORS" in Starch.

COPYRIGHT AND LICENSE

See "COPYRIGHT AND LICENSE" in Starch.