Marcel Grünauer > Brickyard-1.111750 > Brickyard::Role::PluginBundle

Download:
Brickyard-1.111750.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.111750   Source   Latest Release: Brickyard-2.0.0

NAME ^

Brickyard::Role::PluginBundle - Role to use for plugin bundles

VERSION ^

version 1.111750

SYNOPSIS ^

    package My::App::PluginBundle::Foo;
    use Role::Basic 'with';
    with qw(Brickyard Role::Plugin);

    sub bundle_config {
        [
            [ '@Default/Uppercase', $_[0]->_exp('Uppercase'), {} ],
            [ '@Default/Repeat',    $_[0]->_exp('Repeat'), { times => 3 } ]
        ];
    }

METHODS ^

new

Constructs a new object. Takes an optional hash of arguments to initialize the object.

brickyard

Read-write accessor for the Brickyard object that created this object.

_exp

Takes a package name and delegates to the brickyard's expand_package() method.

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 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.

syntax highlighting: