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::ForStore - Base role for Starch::Store plugins.

SYNOPSIS

package MyPlugin::Store;
use Moo;
with 'Starch::Plugin::ForStore';
sub foo { print 'bar' }

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

DESCRIPTION

This role provides no additional functionality to store plugins. All it does is labels a plugin as a store 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.