MooseX::Declare::Context::WithOptions::Patch::Extensible - patch MooseX::Declare for extensibility
use MooseX::Declare::Context::WithOptions::Patch::Extensible;
This module extends MooseX::Declare::Context::WithOptions to add a new attribute allowed_option_names containing an arrayref of option names that it can parse. The default is the standard MooseX::Declare list of 'extends', 'with' and 'is'.
allowed_option_names
It also patches the strip_options method so that it pays attention to that arrayref.
strip_options
If you don't understand why you'd need to do this, then you probably don't need to do this.
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=MooseX-Declare-Context-WithOptions-Patch-Extensible.
MooseX::Declare.
MooseX::Declare
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2012 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install MooseX::Declare::Context::WithOptions::Patch::Extensible, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Declare::Context::WithOptions::Patch::Extensible
CPAN shell
perl -MCPAN -e shell install MooseX::Declare::Context::WithOptions::Patch::Extensible
For more information on module installation, please visit the detailed CPAN module installation guide.