1Dist::Zilla::Role::PlugUisneBrunCdoDlniets:rt:i:Cb:ouZntifelidlga:P::e:SrRlloilcDeeo:rc:(uP3ml)eungtiantBiuonndle::Config::Slicer(3)
2
3
4

NAME

6       Dist::Zilla::Role::PluginBundle::Config::Slicer - Pass Portions of
7       Bundle Config to Plugins
8

VERSION

10       version 0.202
11

SYNOPSIS

13         # in Dist::Zilla::PluginBundle::MyBundle
14
15         with (
16           'Dist::Zilla::Role::PluginBundle', # or PluginBundle::Easy
17           'Dist::Zilla::Role::PluginBundle::Config::Slicer'
18         );
19
20         # Config::Slicer should probably be last
21         # (unless you're doing something more complex)
22

DESCRIPTION

24       This role enables your Dist::Zilla Plugin Bundle to accept
25       configuration customizations for the plugins it will load and merge
26       them transparently.
27
28         # dist.ini
29         [@MyBundle]
30         option = 1
31         Included::Plugin.attribute = overwrite value
32         AnotherPlug.array[0] = append value
33         AnotherPlug.array[1] = append another value
34
35       See "CONFIGURATION SYNTAX" in Config::MVP::Slicer for details on how
36       the configurations are handled.
37
38       This role adds a method modifier to "bundle_config", which is the
39       method that the root "PluginBundle" role requires, and that
40       "PluginBundle::Easy" wraps.
41
42       After "bundle_config" is called the modifier will update the returned
43       plugin configurations with any values that were customized in the main
44       bundle config.
45
46       Most of the work is done by Dist::Zilla::Config::Slicer (a subclass of
47       Config::MVP::Slicer).  Check out those modules if you want the same
48       functionality but don't want to consume this role in your bundle.
49

SEE ALSO

51       ·   Config::MVP::Slicer
52
53       ·   Dist::Zilla
54
55       ·   Dist::Zilla::Config::Slicer
56
57       ·   Dist::Zilla::Role::PluginBundle
58
59       ·   Dist::Zilla::Role::PluginBundle::Easy
60
61       ·   Dist::Zilla::PluginBundle::ConfigSlicer
62

AUTHOR

64       Randy Stauner <rwstauner@cpan.org>
65
67       This software is copyright (c) 2011 by Randy Stauner.
68
69       This is free software; you can redistribute it and/or modify it under
70       the same terms as the Perl 5 programming language system itself.
71
72
73
74perl v5.30.1                Dist::2Z0i2l0l-a0:1:-R2o9le::PluginBundle::Config::Slicer(3)
Impressum