++ed by:
KEEDI

1 PAUSE user(s)

Marcel GrĂ¼nauer

NAME

Brickyard::PluginBundle::Filter - Plugin bundle to filter another plugin bundle

VERSION

version 1.110060

SYNOPSIS

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

DESCRIPTION

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.

Options prefixed with - will be passed to the bundle to be filtered.

METHODS

bundle

Read-write accessor for the name of the bundle that should be filtered. It will be expanded as per Brickyard's expand_package() method.

remove

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.

bundle_config

Loads the target bundle's configuration, filters the plugins and returns the remaining configuration.

remove_from_config

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.

INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Brickyard.

AVAILABILITY

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Brickyard/.

The development version lives at http://github.com/hanekomu/Brickyard.git and may be cloned from git://github.com/hanekomu/Brickyard.git. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR

Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Marcel Gruenauer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.