Brickyard::PluginContainer - Container for plugins
version 1.110020
use Brickyard; my $brickyard = Brickyard->new(base_package => 'My::App'); my $plugins = $brickyard->get_container_from_config('myapp.ini'); $_->some_method for $plugins->plugins_with(-SomeRole);
Constructs a new object. Takes an optional hash of arguments to initialize the object.
Read-write accessor for the Brickyard object that populated this container.
Read-write accessor for the reference to an array of plugins.
Takes a role name and returns a list of all the plugins that consume this role. The result is cached, keyed by the role name.
Clears the cache kept by plugins_with().
plugins_with()
See perlmodinstall for information and options on installing Perl modules.
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.
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.
Marcel Gruenauer <marcel@cpan.org>
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.
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.