Brickyard::PluginBundle::Filter - Plugin bundle to filter another plugin bundle
In your registry.ini:
; use [@MyBundle], but replace the [FooBar] plugin with a custom one [*@Filter] bundle = @MyBundle remove = FooBar mybundle_config1 = value1 mybundle_config2 = value2 [Better::FooBar] baz = frobnule baz = frobnule2
This plugin bundle wraps and modifies another plugin bundle. It includes all the configuration for the bundle named in the bundle attribute, but removes all the entries whose package is given in the remove attributes.
bundle
remove
Options prefixed with - will be passed to the bundle to be filtered.
-
Read-write accessor for the name of the bundle that should be filtered. It will be expanded as per Brickyard's expand_package() method.
expand_package()
Read-write accessor for the name(s) of plugins that should be removed from the bundle. These names too will be expanded as per Brickyard's expand_package() method.
Loads the target bundle's configuration, filters the plugins and returns the remaining configuration.
Takes a bundle configuration and a reference to an array of package names that should be removed from the bundle configuration. Returns the filtered configuration.
To install Brickyard, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Brickyard
CPAN shell
perl -MCPAN -e shell install Brickyard
For more information on module installation, please visit the detailed CPAN module installation guide.